Skip to content

feat: 📄 integrate llms.txt generation functionality #4692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

okineadev
Copy link
Contributor

@okineadev okineadev commented Apr 15, 2025

Description

Integrated llms.txt generation functionality from the vitepress-plugin-llms

Now you can enable llms.txt generation using the llms parameter:

llms: true

You can also pass parameters there:

llms: { workDir: 'en' }

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support llms.txt generation
1 participant