chore: archive legacy enterprise versions 22.4 and 23.1-23.4#1460
Open
justinegeffen wants to merge 2 commits into
Open
chore: archive legacy enterprise versions 22.4 and 23.1-23.4#1460justinegeffen wants to merge 2 commits into
justinegeffen wants to merge 2 commits into
Conversation
Removes the orphan version directories that were dropped from
platform-enterprise_versions.json years ago but left on disk, and
points all legacy paths at the new docs-archive.seqera.io site so
users on those versions land on the frozen archive instead of 404s.
- Add /platform-enterprise/{22.4,23.1-23.4}/* redirects to the archive
- Repoint the existing /platform/{22.4.0,23.x.0}/enterprise/* redirects
(which currently 404 since the versions are not built)
- Delete the orphan version dirs and sidebars
- Rewrite docs.seqera.io/platform-enterprise/2{2,3}.x/* links in the
v22.x and v23.x changelog files to point at the archive
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
❌ Deploy Preview for seqera-docs failed. Why did it fail? →
|
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.
Summary
Master-side companion to the legacy-enterprise archive plan. Stops carrying source directories for versions that haven't been built in years, and points legacy URLs at a dedicated archive site instead of 404s.
This PR is intentionally boring — no
DOCS_SITE_MODE, no conditional config, no swizzles. The archive lives on a separate Netlify site fed by a frozen branch; master just deletes and redirects.What's in this PR
static/_redirects): direct/platform-enterprise/{22.4,23.1-23.4}/*requests atdocs-archive.seqera.io, and repoint the existing/platform/{22.4.0,23.x.0}/enterprise/*redirects (which currently land on 404s in production) at the same archive.platform-enterprise_versioned_docs/version-{22.4,23.1,23.2,23.3,23.4}and the matching sidebar JSONs. These have not been listed inplatform-enterprise_versions.jsonsince the 25.2 release and have not been built into the site since then.https://docs.seqera.io/platform-enterprise/2{2,3}.x/...URLs insidechangelog/seqera-enterprise/v22.{3,4}.mdandv23.{1..4}.mdto point atdocs-archive.seqera.io. These links are currently dead in production.File count is large (~1,290 files) but the review surface is small — 7 files modified, the rest are mechanical deletions of unbuilt source.
What's NOT in this PR (intentionally)
archive/enterprise-23branch and a separate Netlify site. Setup steps for that are out of scope for this PR.docs-archive.seqera.io). Worth a short discussion about placement (navbar item vs sidebar swizzle) before adding — happy to do as a follow-up once the archive site is live.Merge ordering
docs-archive.seqera.iois live. Otherwise these redirects point at a 404 — slightly worse than today's direct 404, since users get an extra hop. Order of operations:archive/enterprise-23branch (re-add 22.4/23.x toversions.json, fixcli/overviewsidebar refs, strip OSS doc fetchers, swizzle SearchBar to null, etc.)docs-archive.seqera.ioTest plan
docs-archive.seqera.ioand serves/platform-enterprise/{22.4,23.1,23.2,23.3,23.4}/.../platform-enterprise/23.1/credentials/overview,/platform/23.4.0/enterprise/configuration/overview, etc.v23.1.md,v23.2.md, etc. resolve to live archive pages/platform-enterprise/24.1/...,/platform-enterprise/26.1/...🤖 Generated with Claude Code