Rename build-catalog to build-llms, and stop claiming /catalog/ - #201
Closed
abernier wants to merge 1 commit into
Closed
Rename build-catalog to build-llms, and stop claiming /catalog/#201abernier wants to merge 1 commit into
abernier wants to merge 1 commit into
Conversation
The name was contradicted by the output. `bin/lib/render.mjs` claimed in its
header that `/catalog/<name>.md` sits next to the JSON, and
`test/turbo-cache.test.ts` said the website build emits `/catalog/*.{json,md}`
-- but the script writes to `apps/website/public/examples/`. The word
"catalog" no longer named anything the script emits.
"llms" names the audience instead, which is what unifies the three outputs:
`llms.txt`, `/examples/<name>.md`, `/examples/<name>.json`, all served to the
pmndrs docs MCP server and to `rel="alternate"` on every example page.
bin/build-catalog.mjs -> bin/build-llms.mjs
bin/lib/render.mjs -> bin/lib/render-llms.mjs
test/render.test.ts -> test/render-llms.test.ts
Pure refactor: the generated output is byte-identical. The `.gitignore`
comment is a ninth reference the issue did not list.
It touches `turbo.json` inputs, so it busts the website build cache once.
Closes #193
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YQmbpRu6oCNrLiUQvhz5x6
abernier
force-pushed
the
rename-build-llms
branch
from
August 14, 2026 12:11
71ff2ae to
701828a
Compare
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #193.
Why
The name was contradicted by the output.
bin/lib/render.mjsclaimed in its header that/catalog/<name>.mdsits next to the JSON, andtest/turbo-cache.test.tssaid the website build emits/catalog/*.{json,md}— but the script writes toapps/website/public/examples/. The word "catalog" no longer named anything the script emits."llms" names the audience instead, which is what unifies the three outputs:
llms.txt,/examples/<name>.md,/examples/<name>.json, all served to the pmndrs docs MCP server and torel="alternate"on every example page.What
bin/build-catalog.mjsbin/build-llms.mjsbin/lib/render.mjsbin/lib/render-llms.mjstest/render.test.tstest/render-llms.test.tsThe eight references the issue listed, plus a ninth it missed: the
.gitignorecomment aboveapps/website/public/examples/also namedbuild-catalog.mjs.Verification
mainworktree both hashaf630a0e.pnpm check— green.pnpm test:turbo— 55/55.Pure refactor, no behaviour change. It touches
turbo.jsoninputs, so it busts the website build cache once.🤖 Generated with Claude Code
https://claude.ai/code/session_01YQmbpRu6oCNrLiUQvhz5x6
Position 1 of the stack: #201 → #203 → #204.