Skip to content

Generate llms.txt and llms-full.txt#109

Merged
greenberga merged 1 commit intomainfrom
llms.txt
Apr 27, 2026
Merged

Generate llms.txt and llms-full.txt#109
greenberga merged 1 commit intomainfrom
llms.txt

Conversation

@greenberga
Copy link
Copy Markdown
Contributor

@greenberga greenberga commented Apr 27, 2026

This uses @signalwire/docusaurus-plugin-llms-txt which seems to be the most popular plugin for Docusaurus despite being a bit stale (last published 9 months ago). But hopefully it's Good Enough ™️ I hope in the future this will be officially included in Docusaurus.

@greenberga greenberga requested a review from rokostik April 27, 2026 10:22
@greenberga greenberga self-assigned this Apr 27, 2026
@rokostik
Copy link
Copy Markdown
Contributor

When running it locally going to /llms.txt gives me a 404. Is it located somewhere else?

@greenberga
Copy link
Copy Markdown
Contributor Author

@rokostik I'm not sure it works in dev mode. If you run npm run build and then npm run serve do you see it? The plugin generates the markdown file from the built HTML files, rather than the Markdown and MDX files, which is why I think it only works during build.

@rokostik
Copy link
Copy Markdown
Contributor

Ah I see, it works if I build it 👍

@greenberga greenberga merged commit 74d23d2 into main Apr 27, 2026
@greenberga greenberga deleted the llms.txt branch April 27, 2026 18:56
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.

2 participants