DOCS-3016: Remove the unpublished Calico Enterprise 3.20 and Calico Cloud 22-2 doc trees - #2937
Merged
Merged
Conversation
…loud 22-2 doc trees We publish the latest release and the two before it. Both of these trees have already fallen outside that window and are no longer built, but they were still in the repo. Calico Enterprise 3.20-2 left onlyIncludeVersions when 3.23.1 published (46d18e2). It is archived at archive-ce-3-20.netlify.app, src/pages/archive.md already points there, and static/_redirects already sends /calico-enterprise/3.20/* to the archive site. Calico Cloud 22-2 left onlyIncludeVersions when 23.0.0 published (11620e0). Calico Cloud serves a single version at path '/', so it has no archive site and no redirects to change. Nothing users can reach changes, because neither version is built today. This is the disk cleanup that follows the unpublish, matching 013d7d6 for Calico Open Source 3.28 and f979fd3 for Calico Cloud 22-1. Also drops the 3.20-2 skip in scripts/update-felix-config.sh, which is dead once the version leaves calico-enterprise_versions.json, and corrects the version lists in README.md, which were stale on all three products. Calico Open Source 3.29 is the next candidate under the same rule but is left in place, because archive-os-3-29.netlify.app does not exist yet and removing it would take content off the web with nowhere to send readers. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for calico-docs-preview-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview succeeded!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.

We publish the latest release and the two before it. Two version trees have already fallen outside that window and are no longer built, but they were still in the repo. This deletes them.
Calico Enterprise 3.20-2 left onlyIncludeVersions when 3.23.1 published, in commit 46d18e2 on 7 July 2026. It is archived at https://archive-ce-3-20.netlify.app, src/pages/archive.md already points there, and static/_redirects already sends /calico-enterprise/3.20/* to the archive site with a 301.
Calico Cloud 22-2 left onlyIncludeVersions when 23.0.0 published, in commit 11620e0 on 28 July 2026. Calico Cloud serves a single version at path '/', so it has no archive site and no redirects to change.
That makes this the disk cleanup that follows an unpublish, which is how the last few version retirements were done: 013d7d6 for Calico Open Source 3.28 and f979fd3 for Calico Cloud 22-1.
Changes:
Reviewing this one is a matter of confirming nothing changed, because neither version is built today. A local yarn build succeeds and emits zero HTML pages under /calico-enterprise/3.20 and no /calico-cloud/22-2 path at all, while /calico-enterprise/3.21 still emits its full 401 pages. The two files that do remain under /calico-enterprise/3.20 in the build output are install-calico-windows.ps1 and switch-active-operator.sh, which come from static/ and are untouched by this PR.
Worth spot-checking on the preview:
The large file count is all deletions, so the Vale check will flag this PR. That is expected.
Left out on purpose:
There are no stale -1 early preview trees left to remove. 3.20-1 and 3.21-1 went in #2179, 3.22-1 in 4f22ad6, and 3.23-1 in b0c267b.
Issue: https://tigera.atlassian.net/browse/DOCS-3016