Skip to content

docs: tidy titles and fix broken links - #7934

Merged
josephfarina merged 1 commit into
mainfrom
josephfarina/docs-tidy
Oct 23, 2026
Merged

josephfarina merged 1 commit into
mainfrom
josephfarina/docs-tidy

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

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):

Before After
Theme System Theming
Styling Components Styling components
Browser Support Browser support
Migration Guide Migration
Styling Library Interop Other styling libraries
Looking up components Component lookups

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:

Before After
Component pages (preview site): "How compatibility works" → /docs/shadcn-compatibility (404, the page is never built) Link removed; the sentence around it stays
Charts page: ./docs/ → /docs/docs (404) Points at the Charts docs/ folder on GitHub, which also works on npm and GitHub

What did not change: every page, URL, and page layout; the single A–Z Guide list; Foundations; Libraries; the CLI routes (astryx docs theme and 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:

Check Live This branch
Sidebar entries 33 Same entries as main, none added or removed. Measured on the preview build: 36, which is the same 33 plus the 3 preview-only libraries, exactly as main's preview build shows
Doubled headings / duplicate entries 0 / 0 0 / 0
Clicks from /docs to getting started 0 0
Clicks to layout, theme, Tailwind (Styling overview), agents (Working with AI), colors (Color), making an integration (Authoring) 1 each 1 each
New redirects — 0
Broken doc links (crawl of every /docs and /components page after it loads in a browser) 2 on the preview build 0

The crawl also flags example hrefs inside component demos (such as /settings in a navigation demo). Those are demo content, not doc links, and are unchanged.

Scope

  • This PR changes documentation only, or names every necessary generated artifact.
  • Runtime, API, visual, and policy changes were removed or split.
  • Public text and artifacts contain no internal Meta context.

Testing

  • pnpm build, pnpm check:repo
  • pnpm -F @astryxdesign/docsite generate && pnpm -F @astryxdesign/docsite test && pnpm -F @astryxdesign/docsite build
  • pnpm 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
  • No symlinks in the tree
  • Browser screenshots of /docs/getting-started and /docs/theme, live and local, compared by hand

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Oct 22, 2026 6:10pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 22, 2026
@astracat-bot

astracat-bot Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Oct 22, 2026, 11:36 PM UTC

@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

Preview availability: Storybook and Sandbox are not both ready on the exact-head Vercel preview.

No new or modified components detected.

Bundle Size Summary

No component packages changed.

Accessibility Audit

Status: No accessibility violations detected.

Visual Regression

46 of 494 shot(s) changed.

A change here is a question, not a failure: check whether the after is the
picture you intended. Record that review on the PR. Baseline maintenance is an
explicit dispatch of CI; this report never rewrites the baseline or adds a release gate.

component story theme mode pixels
Selector Indicator Space Bottom Sheet Narrow End RTL neutral light 753,933
Selector Indicator Space Bottom Sheet Wide Start neutral light 740,072
Chat Full AI Chat probe light 230,823
Chat Full AI Chat probe dark 229,805
RichTextEditor Markdown parity: side by side probe dark 94,866
RichTextEditor Markdown parity: side by side probe light 89,762
Collapsible Dividers probe dark 66,445
Collapsible Dividers probe light 66,445
Chat Default neutral dark 36,304
Chat Default neutral light 35,767
Chat Empty State probe light 23,531
Chat Empty State probe dark 22,622
ChatAutoScroll Scroll Behavior Comparison neutral dark 15,378
ChatAutoScroll Scroll Behavior Comparison neutral light 14,107
Chat With Attachments probe light 13,406
Chat With Attachments probe dark 11,232
ProgressBar With Target Mark probe dark 7,895
ProgressBar With Target Mark probe light 7,895
Markdown Default neutral dark 7,573
Markdown Default neutral light 7,566

and 26 more.


Generated by PR Enrichment workflow | View full report

@josephfarina
josephfarina marked this pull request as ready for review October 22, 2026 22:49

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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]

@josephfarina
josephfarina merged commit ccdb1b8 into main Oct 23, 2026
71 checks passed
@github-actions
github-actions Bot deleted the josephfarina/docs-tidy branch October 23, 2026 06:23

This branch was successfully deployed

1 active deployment
Preview — 3740419b Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant