llms-full.txt
Publish the complete documentation corpus as one plain-text response for AI agents and offline indexing.
This is already configured in projects created with create-heyo-docs. No action is required if you used the creator to install Heyo Docs.
/llms-full.txt combines every generated documentation page into one
frontmatter-free, plain-text response. It is useful for offline indexing,
evaluation fixtures, or a task that genuinely needs broad documentation
context.
Choose the right retrieval surface
For an interactive question, start with
llms.txt and load the relevant
page-level Markdown documents. Use llms-full.txt when an agent needs the
whole site, such as preparing an onboarding brief or comparing several areas
of a small documentation site.
The response uses:
Its size grows with every MDX page, so it should not be the default context window for every request. Like all generated documentation resources, it is public and must not contain secrets or private runbooks.
Add the route
Generate the response from the server-side page registry with llmsFull().
The route convention differs by framework.
React Router
Register the resource route before the documentation catch-all:
Then create app/routes/llms-full.ts:
For static React Router deployments, include /llms-full.txt in
prerender().
Astro
Create src/pages/llms-full.txt.ts:
Astro creates the equivalent /llms-full.txt file during a static build.
Next.js
Create app/llms-full.txt/route.ts:
Publish .md endpoints
and llms.txt as well, so
agents can select a smaller source when the full corpus is unnecessary.