Repository navigation
generator: reproduce the live site byte for byte - #35
Merged
Merged
Conversation
- Rust generator owns sitemap.xml, robots.txt, llms.txt and llms-full.txt;
blog-gen.mjs no longer writes the first two.
- Hand-written llms text lives in _products/templates with {{slots}}.
- site-data.json gains optional lastmod, ko_name, ko_summary, llms_detail
and meta_description; posts.json gains lastmod.
- robots carries the AI-crawler rules; sitemap carries every live entry.
Running the generator into a temp copy gives an empty diff against the site.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
207studio-founder
added a commit
that referenced
this pull request
Nov 2, 2026
With an empty product list the Rust generator leaves the hand-written /products/ redirect stubs alone, drops /products/ and /ko/products/ from the sitemap, and prints the llms Products heading only when there is something to list. The llms templates now match the live text. Running the generator, blog-gen.mjs and walk-gen.py on a clean copy reproduces the tree byte for byte; the #35 product data still does too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
207studio-founder
marked this pull request as ready for review
November 2, 2026 18:38
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.
Running the
_productsgenerator now reproduces the committed site exactly. Generated into a temp copy, then diffed withdiff -rqagainst the repo: empty.sitemap.xml,robots.txt,llms.txtandllms-full.txt.blog-gen.mjsno longer writes sitemap or llms, so the two scripts can't overwrite each other._products/templates/with{{products}},{{writing}}and{{ko_products}}slots.site-data.json:lastmod(pairy-core-sdk 2026-10-30),ko_name/ko_summary,llms_detail,meta_description.posts.json:lastmod.descriptionkeeps the first andmeta_descriptionholds the second.Live files are unchanged.
git diff origin/mainis empty for sitemap.xml, robots.txt, llms.txt, llms-full.txt, CNAME, _cloudflare and every HTML page.check_llms.pypasses.Known quirk, kept on purpose: llms-full.txt has
Includes:\n- text\n- linksunder Scan-to-Grade, which is field names rather than items. The generator reproduces it. Fix it in both places in a later change.🤖 Generated with Claude Code