Skip to content

chore(archive): add missing lint ignores and document archiving - #4660

Open
thetaPC wants to merge 1 commit into
mainfrom
archived-versions
Open

chore(archive): add missing lint ignores and document archiving#4660
thetaPC wants to merge 1 commit into
mainfrom
archived-versions

Conversation

@thetaPC

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

v7 was archived in #4647, but it was never added to .prettierignore or cspell.json, so Prettier and cspell still walk archived v7 content. The static/usage/v6 and v7 playground folders were never ignored either.

Separately, the framework landing redirects in vercel.json cover v6 and v7 but not v8. No version ships an index page for those routes, so /docs/v8/angular, /docs/v8/react, and /docs/v8/vue currently fail to redirect to their overview pages, and /docs/v8/javascript has no versioned redirect at all.

The archiving instructions in CONTRIBUTING.md only covered versions.json and versionsArchived.json, which is how the v7 lint ignores were missed in the first place.

What is the new behavior?

Config catch up:

  • .prettierignore: adds versioned_docs/version-v7, static/usage/v6, and static/usage/v7
  • cspell.json: adds versioned_docs/version-v7
  • vercel.json: adds v8 to the angular, react, and vue landing redirects, and adds a v8 scoped javascript redirect

The archiving steps in CONTRIBUTING.md now also cover vercel.json, .prettierignore, cspell.json, and renovate.json, so the next archive has a complete checklist.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Why the vercel.json step is ordered first. An archived version is served from a frozen Vercel deployment that ships its own copy of vercel.json. A version scoped redirect therefore has to exist before the archive build, or it never reaches the archive and those links 404 there permanently. This is not hypothetical: v6 and v7 both work today only because the redirect pattern predates their most recent promoted builds.

The v8 redirects fix a live issue. They are not only preparation for archiving v8. Those routes are broken on main right now, and archiving would have frozen the breakage in place.

@vercel

vercelBot commented Aug 24, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
ionic-docsReadyReadyPreviewAug 24, 2026 8:37pm

Request Review

@thetaPC
thetaPC marked this pull request as ready for review August 24, 2026 22:50
@thetaPC
thetaPC requested a review from a team as a code ownerAugust 24, 2026 22:50
@thetaPC
thetaPC requested a review from ShaneKAugust 24, 2026 22:50
Sign up for freeto 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.

1 participant

@thetaPC