Prepare your documentation for LLMs and AI tools
Mintlify generates optimized formats and provides shortcuts that help users get faster, more accurate responses when using your documentation as context for LLMs and AI tools.
Provide quick access to AI-optimized content and direct integrations with popular AI tools from a contextual menu on your pages.
Add the contextual
field to your docs.json
and specify which options you want to include in your menu.
The /llms.txt file is an industry standard that helps general-purpose LLMs index more efficiently, similar to how a sitemap helps search engines.
Every documentation site automatically hosts an /llms.txt
file at the root that lists all available pages in your documentation. AI tools can use this file to understand your documentation structure and find relevant content to user prompts.
The /llms-full.txt
file combines your entire documentation site into a single file as context for AI tools.
Every documentation site automatically hosts an /llms-full.txt
file at the root.
Markdown provides structured text that AI tools can process more efficiently than HTML, which results in better response times and lower token usage.
Add a .md
to a page’s URL to display a Markdown version of that page.
Select Command + C (Ctrl + C on Windows) to copy any page as Markdown.