Skip to content

DOCS-2944: Archive the Calico Open Source 3.29 docs - #2957

Merged
ctauchen merged 2 commits into
tigera:mainfrom
ctauchen:DOCS-2944-unpublish-oss-3.29
Aug 25, 2026
Merged

DOCS-2944: Archive the Calico Open Source 3.29 docs#2957
ctauchen merged 2 commits into
tigera:mainfrom
ctauchen:DOCS-2944-unpublish-oss-3.29

Conversation

@ctauchen

@ctauchen ctauchen commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Calico Open Source 3.32 shipped, so 3.29 falls outside the N-2 support window. This retires it: docs.tigera.io stops serving it, its traffic goes to the archive site, and the content comes off disk.

The archive branch and Netlify site are already in place and serving: https://archive-os-3-29.netlify.app/calico/3.29/about

That site returns 200, sends x-robots-tag: noindex,nofollow, and its robots.txt disallows everything, so the archived pages cannot outrank current versions in search.

Two commits, in the order they have to happen.

Unpublish from docs.tigera.io:

  • docusaurus.config.js: drop 3.29 from onlyIncludeVersions and delete its versions map entry, so the site stops building the 3.29 docs set.
  • static/_redirects: send /calico/3.29/* to the archive site with a 301. The rule sits at the top of the archived-sets block, above the older per-version rules, because Netlify applies the first match.
  • src/pages/archive.md: point the 3.29 bullet at the archive site instead of docs.tigera.io.

Delete the content, now that nothing reaches it:

  • Remove calico_versioned_docs/version-3.29 and calico_versioned_sidebars/version-3.29-sidebars.json, and drop the entry from calico_versions.json.
  • Drop the 3.29 skip in scripts/update-felix-config.sh, which is dead code once the version leaves calico_versions.json.
  • Correct two stale version lists in README.md, including the sample make show_current_branches output.

This is the step DOCS-3016 deferred. That change retired Calico Enterprise 3.20-2 and Calico Cloud 22-2 but deliberately left 3.29 alone, because the archive site did not exist yet and removing it would have taken content off the web with nowhere to send readers. It exists now.

Verified with yarn build at each commit. The build treats broken links as errors, so it passing confirms nothing in the remaining doc sets links into 3.29. After the first commit the 3.29 route went from 309 built pages to none and the version dropdown stopped offering it; after the second, 3.30, 3.31, and latest still build at full page count. make show_current_branches now lists 3.30 through 3.32, which is what the corrected README claims. There are no cross-version MDX imports into the deleted directory.

To review on the deploy preview:

  • Documentation archive page, where the 3.29 link should now point at archive-os-3-29.netlify.app: /archive
  • Any 3.29 page, which should no longer exist: /calico/3.29/about
  • Version dropdown on a current page, which should no longer offer 3.29: /calico/latest/about
  • A page in the newest remaining archived version, to confirm nothing regressed: /calico/3.30/about

Redirects do run on the deploy preview, so the 3.29 rule is already verifiable there. Checked against https://deploy-preview-2957--tigera.netlify.app:

  • /calico/3.29/about/ returns 301 to https://archive-os-3-29.netlify.app/calico/3.29/about/, which serves 200.
  • A deep path, /calico/3.29/networking/configuring/bgp/, returns 301 to the matching path on the archive site, so the splat carries the rest of the URL through.
  • /calico/3.30/about/ and /calico/latest/about/ still serve 200, and the version dropdown on latest offers only 3.31 and 3.30.
  • The 3.29 bullet on /archive points at archive-os-3-29.netlify.app.

Calico Open Source 3.32 shipped, so 3.29 falls outside the N-2 window
and moves to its archive site at archive-os-3-29.netlify.app.

- Drop 3.29 from the calico docs plugin so docs.tigera.io stops building
  it.
- Redirect /calico/3.29/* to the archive site.
- Point the 3.29 entry on the documentation archive page at the archive
  site.

The 3.29 content stays in the repo for now. Deleting the tree is the
follow-up step.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ctauchen
ctauchen requested a review from a team as a code owner August 24, 2026 15:23
Copilot AI lite review requested due to automatic review settings August 24, 2026 15:23
@netlify

netlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit e8d7767
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a8c635aae20f90008e7f8fb
😎 Deploy Preview https://deploy-preview-2957--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit e8d7767
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a8c635930b31900080838f0
😎 Deploy Preview https://deploy-preview-2957--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 66 (🔴 down 5 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR unpublishes Calico Open Source v3.29 from the main docs site (outside the N-2 support window) by removing it from the Docusaurus build and routing requests to the dedicated archive site, while keeping the 3.29 content in-repo for a later cleanup.

Changes:

  • Removes 3.29 from the Calico OSS docs plugin onlyIncludeVersions list and its versions map entry so it no longer builds/publishes.
  • Adds a Netlify 301 redirect rule sending /calico/3.29/* traffic to archive-os-3-29.netlify.app.
  • Updates the docs archive page to link the 3.29 entry to the archive site instead of docs.tigera.io.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
static/_redirects Adds a 301 redirect for /calico/3.29/* to the 3.29 archive site.
src/pages/archive.md Updates the 3.29 archive bullet to point at the archive Netlify site.
docusaurus.config.js Removes 3.29 from the Calico OSS docs versions configuration so it is no longer built/published.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

The previous commit stopped building 3.29 and redirected its paths to
archive-os-3-29.netlify.app, so the content in the repo is no longer
reachable. This removes it from disk.

- Delete calico_versioned_docs/version-3.29 and its sidebars file, and
  drop the entry from calico_versions.json.
- Drop the 3.29 skip in scripts/update-felix-config.sh, which is dead
  once the version leaves calico_versions.json.
- Correct the two stale version lists in README.md.

Nothing users can reach changes. The 3.29 content stays available on the
archive branch and its Netlify site.

This is the step DOCS-3016 (322fe99) deferred, where 3.29 was held back
because the archive site did not exist yet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 24, 2026 15:29
@ctauchen ctauchen changed the title DOCS-2944: Unpublish the Calico Open Source 3.29 docs DOCS-2944: Archive the Calico Open Source 3.29 docs Aug 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 162 out of 357 changed files in this pull request and generated no new comments.

@ctauchen
ctauchen merged commit d779df4 into tigera:main Aug 25, 2026
11 checks passed
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