llms.txt
Auto-generated documentation endpoint for AI assistants.
Overview
llms.txt is an auto-generated documentation endpoint that provides structured content for AI assistants. It's accessible at /llms.txt, /blog.md, /blog.txt, /blog/*.md, /blog/*.txt, /docs.md, /docs.txt, /docs/*.md, and /docs/*.txt.
How It Works
The endpoint automatically scans documentation and blog content, generating markdown files that include:
- Complete documentation pages
- Blog articles
- Structured navigation
- Cross-references between pages
Access Points for AI Assistants
- llms.txt - Index for complete documentation for ZeroStarter
- blog.md - Index for latest articles and updates about ZeroStarter
.mdand.txtaliases are available for individual blog and docs pages under/blog/*and/docs/*- llms-full.txt - Complete documentation in one page for AI assistants
Implementation
The endpoint is implemented in web/next/src/app/(llms.txt)/llms.txt/[[...slug]]/route.ts and uses:
- Automatic markdown generation with links and metadata
docsSourcefrom Fumadocs for documentationblogSourcefrom Fumadocs for blog content