Skip to content

fix: clean up search indexing routes#94

Merged
starc007 merged 2 commits into
mainfrom
fix/raw-route-noindex
Jul 5, 2026
Merged

fix: clean up search indexing routes#94
starc007 merged 2 commits into
mainfrom
fix/raw-route-noindex

Conversation

@starc007

@starc007 starc007 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • allow crawlers to access raw registry source while returning X-Robots-Tag: noindex
  • redirect legacy component variants and renamed pages to their canonical docs pages
  • redirect inferred nested source-file URLs to the component page that owns them
  • preserve /api/og crawling because those image resources are intentionally referenced by page metadata

Validation

  • bun run check
  • bun test (22 passing)
  • verified 76 redirect rules have no duplicates, valid-page collisions, or invalid destinations
  • verified raw route returns 200, text/plain, and X-Robots-Tag: noindex

@starc007 starc007 merged commit 7c06f38 into main Jul 5, 2026
2 checks passed
@starc007 starc007 deleted the fix/raw-route-noindex branch July 5, 2026 14:57
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.

1 participant