Repository navigation
docs: tidy titles and fix broken links - #7934
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
No new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Visual Regression46 of 494 shot(s) changed. A change here is a question, not a failure: check whether the after is the
and 26 more. Generated by PR Enrichment workflow | View full report |
There was a problem hiding this comment.
This looks ready to approve. The six renames are display-only (doc display names are mutable catalog data under AST-017 FR45, and the Changeset names each replacement), every route and redirect stays the same, searching by an old title still finds the renamed doc first, and both links you removed or repointed did lead to 404 pages. One optional thing to check: “Other styling libraries” now sits apart from “Styling components” and “Styling overview” in the A–Z Guide list, and the page it names also covers plain CSS, StyleX and Tailwind, so it may be worth confirming that label reads the way you want.
[Automated review]
Reader impact
A small tidy of the docs site and CLI docs. Six guide titles in the sidebar were inconsistent or unclear (title case beside sentence case, "Guide" inside the Guide list, "Interop"). Two links led nowhere: every component page on the preview site linked "How compatibility works" to a page that is never built, and the Charts page linked to
./docs/, which 404s on the site.Source of truth
The sidebar is built from each doc's
title; the routes, slugs, and section keys are unchanged.Correction
Titles (display only; routes, slugs, and URLs unchanged):
Each renamed doc keeps its old title as a search keyword, so searching for "theme system", "styling library interop", "migration guide", or "looking up components" still finds it first.
Links:
/docs/shadcn-compatibility(404, the page is never built)./docs/→/docs/docs(404)docs/folder on GitHub, which also works on npm and GitHubWhat did not change: every page, URL, and page layout; the single A–Z Guide list; Foundations; Libraries; the CLI routes (
astryx docs themeand the others open the same docs); the CLI root listing. No redirects were added.Evidence
Checked against the live site and a local build of this branch, side by side:
The crawl also flags example
hrefs inside component demos (such as/settingsin a navigation demo). Those are demo content, not doc links, and are unchanged.Scope
Testing
pnpm build,pnpm check:repopnpm -F @astryxdesign/docsite generate && pnpm -F @astryxdesign/docsite test && pnpm -F @astryxdesign/docsite buildpnpm exec vitest run --project node packages/cli --maxWorkers=10: 8215 passed; the 81 failures are the same 81 on bare main on this machine (packing and install tests that need network access)./scripts/add-copyright.sh --check: clean for every changed file