llms.txt #3007
pelikhan
started this conversation in
Feature Requests
llms.txt
#3007
Replies: 1 comment
-
(this is not about adding llms.txt support in starlight, but about adding llms.txt to the startlight docs themselves) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?online docs
What is your idea?
It would be beneficial to generate llms.txt files to help copilot provide better answers. https://llmstxt.org/
There is a plugin: https://delucis.github.io/starlight-llms-txt/ , also for vite https://github.com/saschaseniuk/vite-plugin-llms
(better yet: bake it into starlight to make it the most LLM/Agent friendly documentation system)
Why is this feature necessary?
LLM tend to have outdated internal information for fast moving developer projects. One could crawl the rendered documentation and try to regenerate a cleaned up markdown source but it's an ugly business.
By generating a clean, complete llms.txt file, you provide a perfect source of information that can be injectd into a LLM/copilot workflow. It dramatically improves the quality of generated code.
Do you have examples of this feature in other projects?
Participation
Beta Was this translation helpful? Give feedback.
All reactions