Skip to content

docs(site): add llms.txt + generated llms-full.txt#34

Merged
Aitthi merged 1 commit into
mainfrom
docs/llms-txt
Jun 10, 2026
Merged

docs(site): add llms.txt + generated llms-full.txt#34
Aitthi merged 1 commit into
mainfrom
docs/llms-txt

Conversation

@Aitthi

@Aitthi Aitthi commented Jun 10, 2026

Copy link
Copy Markdown
Member

Adds llms.txt support to the docs site so LLMs can ingest the documentation efficiently.

  • docs/site/public/llms.txt (hand-authored, committed) — llmstxt.org format: a summary blockquote, all 22 pages grouped by the sidebar sections with absolute links to the live site, and an Optional section (full dump, docs.rs, GitHub, crates.io).
  • llms-full.txt (generated) — a buildEnd hook in config.mts concatenates every page in reading order (frontmatter stripped) into the site root at build time, so it never goes stale and isn't committed.

Both served at /chain-builder/llms.txt and /chain-builder/llms-full.txt.

Verified locally: build green; llms-full.txt has all 22 page markers, no frontmatter leakage, no rust,ignore residue; llms.txt (4.7 KB) copied to dist root.

Docs-only; no crate changes.

🤖 Generated with Claude Code

Hand-authored public/llms.txt (llmstxt.org format: summary + all 22 pages
grouped by section, absolute links to the live site). A buildEnd hook
concatenates every page in reading order into llms-full.txt at the site
root, so it stays in sync with the docs and is never committed stale.
Served at /chain-builder/llms.txt and /chain-builder/llms-full.txt.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Aitthi Aitthi merged commit bf61fa0 into main Jun 10, 2026
4 checks passed
@Aitthi Aitthi deleted the docs/llms-txt branch June 10, 2026 05:36
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