Skip to content

Add llms.txt and llms-full.txt for AI tools#42728

Open
mdo wants to merge 1 commit into
v6-devfrom
mdo/docs-llms-txt
Open

Add llms.txt and llms-full.txt for AI tools#42728
mdo wants to merge 1 commit into
v6-devfrom
mdo/docs-llms-txt

Conversation

@mdo

@mdo mdo commented Jul 21, 2026

Copy link
Copy Markdown
Member

Publishes machine-readable docs following the llms.txt convention.

  • /llms.txt: a curated index of every docs page with links and descriptions, generated from the sidebar
  • /llms-full.txt: the full docs text concatenated into a single file for direct ingestion
  • Shared site/src/libs/llms.ts resolves sidebar entries to docs content (resilient: skips stray entries instead of failing the build)
  • Links both files from a new "For AI tools & LLMs" section on the install page

Generate /llms.txt (a curated, llmstxt.org-style index of the docs) and
/llms-full.txt (the full docs text concatenated for ingestion) from the
sidebar and docs content, and link both from the install page.
@julien-deramond

julien-deramond commented Jul 22, 2026

Copy link
Copy Markdown
Member

Maybe we could have a "llms.txt" entry in our "Getting started" as well like it's done in shadcn/ui docs at https://ui.shadcn.com/docs/installation:

Screenshot 2026-07-22 at 06 58 31

Clicking on it shows the raw file. I suppose it's also helpful for AI agents parsing the website for info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants