Skip to content

docs: redirect renamed catalog items and moved guides to their current pages - #8975

Merged
ukimsanov merged 1 commit into
mainfrom
ular/docs-old-url-redirects
Nov 27, 2026
Merged

ukimsanov merged 1 commit into
mainfrom
ular/docs-old-url-redirects

Conversation

@ukimsanov

Copy link
Copy Markdown
Collaborator

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.

Old address Now goes to
/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 /quickstart

Why

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

  • One {source, destination, permanent: true} entry per old address, added to the existing redirects list. No other file changes.
  • Each destination is the page that replaced the old one: the same item under its new path, or, for removed theme variants, the surviving block of the same kind. Only dark code-snippet blocks remain, so the four editor-theme variants (including the light one) go to code-snippet-dark-modern, and the eight Apple Terminal themes go to code-snippet-apple-terminal-pro.
  • Left as 404 on purpose: items removed with no successor (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/capture or /registry). Redirecting those to an unrelated page would be a soft 404.

Test plan

  • mint validate passes.
  • mint broken-links --check-redirects passes ("no broken links found"), which also resolves every redirect destination.
  • All 17 distinct destinations answer 200 on hyperframes.heygen.com today.
  • Each source answers 404 on hyperframes.heygen.com today, so no redirect hides a live page.
  • Not checked on a preview deploy: the redirects take effect only after the docs deploy.

…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.
@mintlify

mintlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
hyperframes 🟢 Ready View Preview Nov 27, 2026, 9:30 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@miguel-heygen miguel-heygen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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 .mdx or .md under docs/ 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-modern and code-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-karaoke was removed in #647. catalog/components/caption-pill-karaoke is the remaining per-word karaoke caption.
    • The two .html component 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 at deploy/aws-lambda since #914), docs/skills/pr-to-video and quickstart-0. Each goes to the page whose name it carries.
  • Every redirect is permanent.

Nit

  • code-snippet-dark-2026 also 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.

@ukimsanov
ukimsanov added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 1cb750b Nov 27, 2026
65 checks passed
@ukimsanov
ukimsanov deleted the ular/docs-old-url-redirects branch November 27, 2026 10:21

This branch was successfully deployed

1 active deployment
staging - docs — b9df7126 Deployed Nov 27, 2026 by mintlify[bot]
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.

2 participants