docs: fix dead links in the docs site nav and landing page#21
Open
0xNeit wants to merge 1 commit into
Open
Conversation
A scan of internal links in the docs app found 12 occurrences pointing
at routes that don't exist. None were in page content — all were in the
site chrome and landing page:
- TopNav / Footer "Guides" -> /guides/design-system (no such guide);
now /guides/performance.
- TopNav / Footer "Recipes" -> /recipes/buttons (no such recipe);
now /recipes/dark-mode-toggle.
- BentoFeatures "Universal by design" -> /getting-started/web-and-native;
now /getting-started/cross-platform.
- ComponentGallery cards -> /recipes/{buttons,forms,layouts,animation},
none of which exist. Repointed each card at the component doc page it
depicts, matching the cards that were already correct.
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.
What
A scan of every internal link in the docs app (
apps/docs) turned up 12 occurrences pointing at routes that don't exist. None were in page content — all 200+ markdown links, anchors, and external URLs incontent/check out. The dead links were all in the site chrome and landing page:TopNav/Footer— "Guides"/guides/design-system/guides/performanceTopNav/Footer— "Recipes" (×3)/recipes/buttons/recipes/dark-mode-toggleBentoFeatures— "Universal by design"/getting-started/web-and-native/getting-started/cross-platformComponentGallery— Buttons/recipes/buttons/components/interactive/buttonComponentGallery— Inputs/recipes/forms/components/formsComponentGallery— Cards/recipes/layouts/components/layoutComponentGallery— Toggles/recipes/forms/headless/selection/switchComponentGallery— Progress/recipes/animation/headless/numeric/progressComponentGallery— Toasts/recipes/animation/headless/feedback/toastGallery cards were repointed at the component doc page each one depicts — consistent with the cards already correct ("Badges" →
/concepts/variants, "Tabs" →/concepts/composition). The "Recipes"/"Guides" nav items land on the first page of each section.Follow-up (not in this PR)
/recipesand/guideshave no index page (noindex.mdx). The nav works now, but a dedicated section landing page would be the cleaner long-term fix.