llms.txt
Expose documentation in formats agents can fetch.
Published public docs sites serve an agent-friendly index and Markdown mirrors of guide pages.
Index
GET /llms.txt on your docs hostname lists published page titles, URLs, and descriptions (from page frontmatter / settings).
Example: https://docs.example.com/llms.txt
Private sites return 404 for this endpoint.
Page Markdown mirrors
Append .md to a guide page path to fetch Markdown reconstructed from the published document:
https://docs.example.com/start/introduction.md
Embed sections (API / SDK / CLI) are listed in llms.txt but do not have Markdown mirrors.
Related
Organization MCP / REST API for write operations
Keep a well-structured Markdown repo for authoring; sync publishes the public surface