Skip to content

chore: archive legacy enterprise versions 22.4 and 23.1-23.4#1460

Open
justinegeffen wants to merge 2 commits into
masterfrom
chore/archive-legacy-enterprise-versions
Open

chore: archive legacy enterprise versions 22.4 and 23.1-23.4#1460
justinegeffen wants to merge 2 commits into
masterfrom
chore/archive-legacy-enterprise-versions

Conversation

@justinegeffen
Copy link
Copy Markdown
Contributor

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

  • Redirects (static/_redirects): direct /platform-enterprise/{22.4,23.1-23.4}/* requests at docs-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.
  • Deletions: removes 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 in platform-enterprise_versions.json since the 25.2 release and have not been built into the site since then.
  • Changelog link fixes: rewrites https://docs.seqera.io/platform-enterprise/2{2,3}.x/... URLs inside changelog/seqera-enterprise/v22.{3,4}.md and v23.{1..4}.md to point at docs-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)

  • The archive site itself. That lives on a separate archive/enterprise-23 branch and a separate Netlify site. Setup steps for that are out of scope for this PR.
  • A "Legacy versions" discovery hook on master (e.g., a navbar link to 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.
  • Cosmetic cleanup of non-link prose mentions of 23.x in upgrade docs / README. Out of scope.

Merge ordering

⚠️ Do not merge until docs-archive.seqera.io is live. Otherwise these redirects point at a 404 — slightly worse than today's direct 404, since users get an extra hop. Order of operations:

  1. Create archive/enterprise-23 branch (re-add 22.4/23.x to versions.json, fix cli/overview sidebar refs, strip OSS doc fetchers, swizzle SearchBar to null, etc.)
  2. Spin up a new Netlify site pointed at that branch with custom domain docs-archive.seqera.io
  3. Confirm the archive builds and serves the legacy versions
  4. Merge this PR

Test plan

  • Confirm archive Netlify site is live at docs-archive.seqera.io and serves /platform-enterprise/{22.4,23.1,23.2,23.3,23.4}/...
  • After merge, spot-check a few redirects on docs.seqera.io: /platform-enterprise/23.1/credentials/overview, /platform/23.4.0/enterprise/configuration/overview, etc.
  • Verify changelog links in v23.1.md, v23.2.md, etc. resolve to live archive pages
  • Verify no regression for currently-built versions: /platform-enterprise/24.1/..., /platform-enterprise/26.1/...

🤖 Generated with Claude Code

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>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2026

Deploy Preview for seqera-docs failed. Why did it fail? →

Name Link
🔨 Latest commit 97dda4c
🔍 Latest deploy log https://app.netlify.com/projects/seqera-docs/deploys/6a0f7e4d3aa1ee0008b281b4

@justinegeffen justinegeffen added do not merge Do not merge until this label is removed draft/WIP claude-code-assisted Vibe-coded but with human oversight and guidance. Must be validated by another human and co-pilot. labels May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-code-assisted Vibe-coded but with human oversight and guidance. Must be validated by another human and co-pilot. do not merge Do not merge until this label is removed draft/WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant