Platform recipe
Docusaurus llms.txt recipe
A Docusaurus llms.txt file should direct AI assistants to the documentation pages that reduce hallucination: quickstarts, API references, examples, versions, and changelogs.
Best pages to include
- Quickstart and installation pages.
- Current API reference and SDK guides.
- Examples, tutorials, and troubleshooting pages.
- Versioned docs and migration guides.
- Release notes and deprecation policy.
Starter file
# Documentation Name
> Documentation Name helps developers build with [product/API/framework].
## Summary
This Docusaurus site publishes quickstarts, API references, SDK guides, examples, versioned docs, migration notes, and changelogs.
## Documentation Sources
- [Quickstart](https://example.com/docs/intro): First successful setup path.
- [API reference](https://example.com/docs/api): Endpoints, parameters, responses, and errors.
- [Examples](https://example.com/docs/examples): Working implementation examples.
- [Changelog](https://example.com/changelog): Releases and breaking changes.
If your documentation has multiple versions, label the current stable version clearly and keep old version links separate.