Repository navigation
seo: drop the duplicate blog link from llms.txt primary links - #350
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Two SEO PRs landed overlapping entries in the /llms.txt "Primary links" section: a hardcoded /blog + /blog/rss.xml pair and a blogRoute/feedRoute pair, so Blog was emitted twice. Keep the constant-based form, derive the RSS link from blogRoute too, and order the section so the blog surfaces sit together after Template concepts. Emitted output is unchanged apart from the removed duplicate, so the geo e2e pins still hold; the blog-platform int spec pins the route source strings, so it moves to the constant-based literals. Co-Authored-By: Claude <[email protected]>
05e2d2e to
cc71bf4
Compare
What
/llms.txtlisted the blog twice in its Primary links section. Two SEO-focused PRs landed overlapping entries — a hardcoded/blog+/blog/rss.xmlpair and ablogRoute/feedRoutepair — and sinceblogRoute === '/blog', the section emitted- [Blog](…/blog)on two separate lines.This keeps the constant-based form, derives the RSS link from
blogRouteas well so the two blog surfaces share one constant instead of one being constant-based and its neighbour hardcoded, and groups them after Template concepts:/feed.xmland/blog/rss.xmlare genuinely separate routes, so both feed links stay.Test contract
tests/e2e/geo.e2e.spec.tspins rendered substrings (- [Blog](${baseURL}/blog),- [Updates feed](${baseURL}/feed.xml)) — unaffected, since the emitted bytes only lose the duplicate line.tests/int/blog-platform.int.spec.tspins the route source text, and one of its pins was the exact duplicate line being deleted. Both pins move to the constant-based literals in this PR.Validation
Full
pnpm test:releaseon this branch: lint, tsc, registry, int (341 passed / 1 skipped), production build, and thefrontend/visual/templates-visuale2e batches all green;test:e2e geogreen.The
remainingbatch reports two failures —blog-visualblog-index-desktopandblog-index-mobile. Pre-existing ondevand unrelated to this change: verified by running that spec on a cleanorigin/devcheckout, where the same two cases fail. #348 redesigned the blog index but re-minted only the*-chromium-linux.pngbaselines, so the darwin ones are stale. CI is linux, sopr-gateis unaffected; the darwin re-mint is worth a separate PR.🤖 Generated with Claude Code