Skip to content

fix(versions): restore the archived v5, v6 and v7 docs - #4938

Merged
thetaPC merged 3 commits into
mainfrom
fix/archived-versions
Dec 4, 2026
Merged

thetaPC merged 3 commits into
mainfrom
fix/archived-versions

Conversation

@thetaPC

@thetaPC thetaPC commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

The v5, v6 and v7 links in the version dropdown return 410 Gone. Vercel's retention policy deleted the deployments they point to, and promoting a deployment to production doesn't protect it: the next main deploy takes the production alias away, and the old deployment expires. v6 already died this way once (#4542, redeployed in #4567).

This rebuilds all three in one deployment and points at aliases that Vercel's retention keeps:

  • versionsArchived.json points at ionic-docs-v5, ionic-docs-v6 and ionic-docs-v7 on vercel.app, all aliases of ionic-docs-61jyq8s0l-ionic1.vercel.app, built from this branch before the final commit
  • 27 in-page links to the deleted deployments point at the same aliases, in docs, v8, and the archived v6 and v7 pages
  • CONTRIBUTING's archiving steps alias the deployment instead of promoting it
  • v5 and v6 build again:
    • The component API plugin rewrites Ionic 5's relative component links such as (../picker), which resolved outside api/. It already built the regex for this and never used it
    • The v5 and v6 glossaries use headings with ids instead of <section id>, as v7 does, since the anchor check can't see section ids

How to test

On the preview, open the version dropdown and choose v7, v6 and v5. Each should load its archived site.

On /docs/api/input, the "deprecated in Ionic 7" link should open the v7 input page at "Using the modern syntax".

@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Dec 4, 2026 12:09am UTC

Request Review

@thetaPC thetaPC changed the title chore(versions): build v5, v6 and v7 for the archived deployment fix(versions): restore the archived v5, v6 and v7 docs Dec 3, 2026
@thetaPC
thetaPC marked this pull request as ready for review December 4, 2026 00:16
@thetaPC
thetaPC requested a review from a team as a code owner December 4, 2026 00:16
@thetaPC
thetaPC requested a review from ShaneK December 4, 2026 00:16
@thetaPC
thetaPC merged commit d7db712 into main Dec 4, 2026
7 checks passed
@thetaPC
thetaPC deleted the fix/archived-versions branch December 4, 2026 00:21

This branch was successfully deployed

1 active deployment
Preview — c6bb0496 Deployed Dec 4, 2026 by vercel[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