Skip to content

docs: add llms.txt and llms-full.txt#83

Open
abramdawson wants to merge 1 commit intomainfrom
add-llms-txt
Open

docs: add llms.txt and llms-full.txt#83
abramdawson wants to merge 1 commit intomainfrom
add-llms-txt

Conversation

@abramdawson
Copy link
Contributor

Summary

  • Adds public/llms.txt — a hand-crafted curated index following the llms.txt spec so LLM agents can discover Splits docs
  • Adds scripts/generate-llms-full.js — a build script that concatenates all MDX pages into public/llms-full.txt, reading _meta.json files dynamically to stay in sync with nav order
  • Updates the build script to run generation before next build
  • Adds public/llms-full.txt to .gitignore (generated at build time)

Once deployed:

  • https://docs.splits.org/llms.txt → curated index (29 links)
  • https://docs.splits.org/llms-full.txt → full docs (~318KB)

Test plan

  • Run node scripts/generate-llms-full.js — should generate public/llms-full.txt with 29 pages
  • Run pnpm dev and verify both /llms.txt and /llms-full.txt serve correctly
  • Add/remove a page in _meta.json and re-run script to confirm it picks up changes automatically

🤖 Generated with Claude Code

Add a hand-crafted llms.txt index and a build script that
auto-generates llms-full.txt from all MDX pages in navigation order.
The script reads _meta.json files dynamically so it stays in sync
as pages are added or reordered.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Feb 14, 2026 0:13am

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