llms.txt
AI-readable documentation format
JuicyDocs automatically generates an llms.txt file that makes your documentation accessible to AI language models.
What is llms.txt?
The llms.txt specification defines a standard format for websites to provide AI-friendly content. It's similar to robots.txt but for AI systems.
Generated Output
JuicyDocs generates /llms.txt at build time, containing:
- Site title and description
- List of all documentation pages with titles and URLs
- Plain text content of each page
Example Output
# My Documentation Site
> Documentation for my awesome project
## Documentation Pages
- [Getting Started](/docs/usage/getting-started/)
- [Configuration](/docs/usage/settings/)
- [Features](/docs/features/)
---
### Getting Started
Welcome to the documentation...Benefits
- AI Assistants: Tools like ChatGPT can reference your documentation
- Semantic Search: AI systems can better understand your content structure
- Accessibility: Provides a machine-readable version of your docs
Configuration
The llms.txt template is at src/llms.txt.njk. Customize it to change what content is included.
