Repository navigation
docs: redirect renamed catalog items and moved guides to their current pages - #8975
Conversation
…t pages Search engines still crawl 27 old catalog and guide addresses that now answer 404. Each now redirects to the page that replaced it. Items removed with no successor stay 404.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
miguel-heygen
left a comment
There was a problem hiding this comment.
I reviewed b9df712. It adds 27 redirects to docs/docs.json and changes nothing else. I checked each one against the repository at this head and against the live docs site.
What I checked
- Every source answers 404 today, and every destination answers 200 on the live docs site. I requested all 27 pairs directly, without following redirects.
- No source is a live page. No added source matches an
.mdxor.mdunderdocs/at this head, and every destination does. The list holds 94 redirects with no duplicate sources. - There are no chains or loops. No destination is itself a redirect source, and no existing redirect points into one of the new sources.
- There are no wildcards. Every source is a literal path, so none can catch a live page.
- Each destination is the real replacement:
- The 12 code-snippet variants were deleted in #4274, which kept
code-snippet-apple-terminal-pro,code-snippet-dark-modernandcode-snippet-dark-2026. The eight Apple Terminal themes go to the Pro block. The four editor themes go to Dark Modern, including the one light theme, as the body says. catalog/blocks/captions-karaokewas removed in #647.catalog/components/caption-pill-karaokeis the remaining per-word karaoke caption.- The two
.htmlcomponent addresses go to the same item without the extension. - The rest are near-miss names of current pages: the five catalog blocks without
/blocks/,4k,gsap,hdr-rendering,gcp-cloud-run,examples/aws-lambda(the guide has lived atdeploy/aws-lambdasince #914),docs/skills/pr-to-videoandquickstart-0. Each goes to the page whose name it carries.
- The 12 code-snippet variants were deleted in #4274, which kept
- Every redirect is permanent.
Nit
code-snippet-dark-2026also survived #4274. Dark Modern is a fair pick for the four editor themes, but a dark-theme visitor might match 2026 more closely. Either choice works.
CI at b9df712: every required check passes or is skipped because no code changed: regression, Semantic PR title, Studio and player captures, Test reachability, and the skipped build and test jobs. Nothing is red or still running.
Verdict: APPROVE
Reasoning: Every source is a 404 today with no page behind it, and every destination is a live page that replaced the old one. There are no chains, loops or wildcards, and required CI is green at this head.
What
Adds 27 permanent redirects to
docs/docs.json, from old catalog and guide addresses that now answer 404 to the page that replaced each one./catalog/app-showcase/catalog/blocks/app-showcase/catalog/apple-money-count/catalog/blocks/apple-money-count/catalog/data-chart/catalog/blocks/data-chart/catalog/instagram-follow/catalog/blocks/instagram-follow/catalog/nyc-paris-flight/catalog/blocks/nyc-paris-flight/catalog/components/oversized-cursor.html/catalog/components/oversized-cursor/catalog/components/touch-indicator.html/catalog/components/touch-indicator/catalog/blocks/code-snippet-apple-terminal-{basic, clear-dark, grass, homebrew, man-page, novel, red-sands, silver-aerogel}(8)/catalog/blocks/code-snippet-apple-terminal-pro/catalog/blocks/code-snippet-{dark-plus, visual-studio-dark, high-contrast-light, flight}(4)/catalog/blocks/code-snippet-dark-modern/catalog/blocks/captions-karaoke/catalog/components/caption-pill-karaoke/guides/4k/guides/4k-rendering/guides/gsap/guides/gsap-animation/guides/hdr-rendering/guides/hdr/guides/gcp-cloud-run/deploy/gcp-cloud-run/examples/aws-lambda/deploy/aws-lambda/docs/skills/pr-to-video/guides/pr-to-video/quickstart-0/quickstartWhy
Search engines still crawl these addresses and list them as "Not found (404)". Old links and search results land on a dead page, and the search credit those pages earned is lost. A redirect sends both the visitor and the credit to the current page.
Related work
Refs #4274 (removed low-use catalog items and theme variants; most of the catalog pairs above come from it).
How
{source, destination, permanent: true}entry per old address, added to the existingredirectslist. No other file changes.code-snippet-dark-modern, and the eight Apple Terminal themes go tocode-snippet-apple-terminal-pro.checkout-flow,ai-prompt-flow,ai-generation-canvas,liquid-glass-context-menu,/studio/storyboard), and paths that never were pages (code-sample strings like/path/to/..., guessed paths like/guides/captureor/registry). Redirecting those to an unrelated page would be a soft 404.Test plan
mint validatepasses.mint broken-links --check-redirectspasses ("no broken links found"), which also resolves every redirect destination.