Skip to content

docs: add auto-generated llms-full.txt - #309

Merged
kevinccbsg merged 1 commit into
mainfrom
docs/llms-full-txt
Jul 22, 2026
Merged

docs: add auto-generated llms-full.txt#309
kevinccbsg merged 1 commit into
mainfrom
docs/llms-full-txt

Conversation

@kevinccbsg

Copy link
Copy Markdown
Member

What

Adds llms-full.txt (the full docs concatenated into one file for LLM ingestion), the companion to the existing curated llms.txt.

  • scripts/generate-llms-full.mjs (new): walks the docs corpus (41 pages), strips frontmatter and HTML comments, orders pages to mirror llms.txt, and writes docs/public/llms-full.txt. Skips the component-only homepage.
  • package.json: docs:build now runs the generator before VitePress, so the GitHub Pages deploy regenerates and serves it at twd.dev/llms-full.txt.
  • .gitignore: the generated docs/public/llms-full.txt is a build artifact, always fresh (not committed).
  • docs/public/llms.txt: refreshed the stale "React, Vue, Angular, Solid" framing to match the broadened positioning, and linked to the full file.

Why

llms.txt is a concise index; llms-full.txt gives AI tools (Cursor, Copilot, Claude, Perplexity) the entire documentation in one fetch. GitMCP and DeepWiki also read these files.

Verification

  • npm run docs:build generates 41 pages and both llms.txt and llms-full.txt end up in dist/ (deployed). No dead links.
  • Generated file stays gitignored (confirmed not staged).

🤖 Generated with Claude Code

Add scripts/generate-llms-full.mjs, which concatenates the full docs corpus
(41 pages, frontmatter and HTML comments stripped) into
docs/public/llms-full.txt, served at twd.dev/llms-full.txt as the companion
to the curated llms.txt. Wire it into docs:build so GitHub Pages regenerates
it on every deploy, and gitignore the generated artifact. Refresh the curated
llms.txt framework framing to match the broadened positioning and link to the
full file.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kevinccbsg
kevinccbsg merged commit 3c0792c into main Jul 22, 2026
9 checks passed
@kevinccbsg
kevinccbsg deleted the docs/llms-full-txt branch July 22, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant