Skip to content

[Feature] Add automatic llms.txt generation via mkdocs-llmstxt plugin #8562

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aberoham
Copy link

Adds automated llms.txt generation directly into the docs build pipeline using the mkdocs-llmstxt plugin, complementing the excellent llms.txt generation tutorial from PR #8421

@aberoham aberoham force-pushed the add-llmstxt-generation branch from 8cec845 to 51415e9 Compare July 22, 2025 05:29
@aberoham aberoham changed the title Add automatic llms.txt generation via mkdocs-llmstxt plugin [Feature] Add automatic llms.txt generation via mkdocs-llmstxt plugin Jul 22, 2025
@chenmoneygithub
Copy link
Collaborator

@TomeHirata I haven't really played with llms.txt, do you think the benefits outweigh the increased complexity of the docs?

DSPy documentation automatically generates [llmstxt.org](https://llmstxt.org/) compliant files to help LLMs understand and work with DSPy:

- **`/llms.txt`** - A structured overview with links to key documentation sections
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we start only with llms.txt? llms-full.txt might be overwhelming

@TomeHirata
Copy link
Collaborator

I think it's a good addition to have llms.txt in our doc to increase the visibility of DSPy in the LLM searched contents

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.

3 participants