Skip to content

Add llms-full.txt for LLM-friendly docs dump#1177

Merged
dkijania merged 3 commits intomainfrom
dkijania/add-llms-full-txt
Apr 4, 2026
Merged

Add llms-full.txt for LLM-friendly docs dump#1177
dkijania merged 3 commits intomainfrom
dkijania/add-llms-full-txt

Conversation

@dkijania
Copy link
Copy Markdown
Member

@dkijania dkijania commented Apr 3, 2026

Summary

  • Adds scripts/generate-llms-txt.mjs that concatenates all 380 doc pages into a single static/llms-full.txt
  • Each page is separated by YAML front matter with the URL path, following the llms.txt convention
  • File is tracked in git so changes are reviewable; npm run check-llms-txt can validate it's up to date in CI
  • Runs automatically before npm run build

Test plan

  • Script generates 380 pages, 2.1MB output
  • Verify /llms-full.txt is served on the deployed preview

🤖 Generated with Claude Code

Concatenates all 380 doc pages into a single static/llms-full.txt file
served at /llms-full.txt. The file is tracked in git so changes are
reviewable. Includes npm scripts for generation and CI validation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

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

Project Deployment Actions Updated (UTC)
docs2 Ready Ready Preview, Comment Apr 3, 2026 5:38pm

Request Review

Fails the build if docs were changed but llms-full.txt wasn't
regenerated. Triggered on PRs that touch docs or the generator script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dkijania dkijania merged commit d11b37c into main Apr 4, 2026
7 checks passed
@dkijania dkijania deleted the dkijania/add-llms-full-txt branch April 4, 2026 08:49
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.

2 participants