Skip to content

docs: add the journey components, page templates, lint scripts and the llms.txt generator - #2699

Merged
amankrx merged 1 commit into
TraceMachina:mainfrom
amankrx:docs/tooling
Aug 19, 2026
Merged

docs: add the journey components, page templates, lint scripts and the llms.txt generator#2699
amankrx merged 1 commit into
TraceMachina:mainfrom
amankrx:docs/tooling

Conversation

@amankrx

@amankrx amankrx commented Aug 19, 2026

Copy link
Copy Markdown
Member

What and why

Adds the machinery the docs rewrite is built on, with no page changes: five MDX components (Prerequisites, NextStep, VerifyBlock, SourceLink, MinVersion), the pinned source ref every <SourceLink> resolves against, four page templates, five lint scripts (explicit anchors, internal links, config snippets against the generated reference, call-to-action boundary, reading-path dead ends), a generator that writes /llms.txt and /llms-full.txt from the navigation so agents can read the corpus in one fetch, and AGENTS.md at the repo root for agents working on the code. Landing it first lets the content PR be reviewed for content alone.

How was this verified?

bun run build on main's existing pages with the new components registered (57 pages). Pre-commit hooks (Vale, typos, whitespace, json) pass over the changed files. The lint scripts were exercised against the rewritten content in the follow-up PR; they are not wired into CI here because two of them fail on the old pages (stale config snippets, pricing links), so the workflow ships with the content.

Risk

Low. New files plus a title-template change in layout.tsx; dev/build now also run gen:llms, which writes two gitignored files under public/. Nothing user-visible changes except /llms.txt and /llms-full.txt appearing on the site.


This change is Reviewable

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
nativelink Ready Ready Preview Aug 19, 2026 2:05pm
nativelink-aidm Ready Ready Preview Aug 19, 2026 2:05pm

Request Review

@amankrx
amankrx merged commit b6bf4d0 into TraceMachina:main Aug 19, 2026
44 checks passed
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