feat: 📄 integrate llms.txt
generation functionality
#4692
+1,416
−34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Integrated
llms.txt
generation functionality from thevitepress-plugin-llms
Now you can enable
llms.txt
generation using thellms
parameter:llms: true
You can also pass parameters there:
This is a rough draft for now, I just moved the code from
vitepress-plugin-llms
I also thought about just importing the plugin and adding it to the list of built-in plugins, but I thought about it and decided that it wouldn't make much sense, because if this feature is integrated directly into VitePress, then VitePress should maintain it accordingly
Ready for further suggestions and changes.
Linked Issues
Closes #4590
Tip
The author of this PR can publish a preview release by commenting
/publish
below.Don't merge this PR yet