Integrations
LLM
Output docs content for large language models.
Overview
It's simple in Fumadocs to make your docs site more AI-friendly.
First, make a getLLMText
function that converts pages into static MDX content:
Modify it to include other remark plugins.
llms.txt
A version of docs for AIs to read.
*.mdx
Allow people to append .mdx
to a page to get its Markdown/MDX content.
Make a route handler to return page content.
And redirect users to that route.
How is this guide?