Skip to content

fix(docs): restore legacy documentation URLs - #775

Merged
Aleksei Sviridkin (lexfrei) merged 1 commit into
mainfrom
fix/docs-legacy-urls
Nov 2, 2026
Merged

Aleksei Sviridkin (lexfrei) merged 1 commit into
mainfrom
fix/docs-legacy-urls

Conversation

@myasnikovdaniil

@myasnikovdaniil myasnikovdaniil commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

This restores six legacy URLs as static HTML pages.

Follow-up to PR 772, part of the website epic.

Old URL Content
/docs/reference/applications/ /docs/applications/
/docs/reference/applications/mysql/ /docs/applications/mariadb/
/docs/install/talos/kexec/ /docs/install/talos/boot-to-talos/
/roadmap/ /docs/roadmap/
/docs/bundles/distro-hosted/ /docs/v0/operations/configuration/bundles/
/docs/operations/storage/linstor/ /docs/storage/

The current-doc mappings also serve their four /docs/v1/ forms. All copies return HTTP 200 without JavaScript, query strings and existing fragments stay on the requested URL. Current content uses the target canonical. distro-hosted stays on archived, noindex content. LINSTOR uses the storage overview because its exact historical page could not be confirmed.

Mappings are checked before output is replaced, including missing targets, symlinks and collisions with real pages. Compatibility copies use the existing ownership manifest and are cleaned on rollover.

Checked with Hugo extended 0.164.0: production and preview builds, full-site canonical/robots/sitemap checks, 24 routing fixtures, 129 translation tests, version-pin tests and i18n lint. Anchor corrections remain in PR 745.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ee897a21-82e7-4d91-9aa9-8ee256262ebc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

myasnikovdaniil LGTM.

I built the whole stack on a trial merge with current main, with Hugo 0.164.0 in production mode. Main is on v1.7 now, so the rollover path ran for real. I served the output with a plain static server and requested each URL with ?utm=x#frag appended. All six legacy URLs and the four /docs/v1/ forms return 200 with no redirect and no meta refresh. Canonical and robots match the target page, distro-hosted stays noindex without a canonical, and none of the copies end up in the sitemaps. Numbered archives (/docs/v1.0/, /docs/v1.6/applications/mariadb/, the v0 bundles page) are still served.

Non-blocking: /roadmap/ is special-cased twice in mirror_latest.py, in the destination check and in the manifest check. The next non-docs legacy URL will need a third place, so a list in one spot would be easier. Fine to leave until then.

Map missing applications, MySQL, kexec, LINSTOR and roadmap URLs to their
current content. Keep distro-hosted on the v0 bundles archive. The LINSTOR
mapping uses the storage overview because its historical page was not found.

Serve static HTML copies with the target's canonical and robots policy,
including the current-major paths. Preserve queries and existing fragments
without redirects or JavaScript. Validate all mappings before output is
replaced and include compatibility pages in ownership-based cleanup.

Cover HTTP responses, release rollover, preview policy, archived content,
invalid mappings, symlinks and collisions with real pages.

Assisted-By: LLM
Signed-off-by: Myasnikov Daniil <[email protected]>
@netlify

netlify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit 40e64f6
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/6ae8b3a7661c79e8e163f07a
😎 Deploy Preview https://deploy-preview-775--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@lexfrei
Aleksei Sviridkin (lexfrei) merged commit 21366b5 into main Nov 2, 2026
5 of 7 checks passed
@lexfrei
Aleksei Sviridkin (lexfrei) deleted the fix/docs-legacy-urls branch November 2, 2026 16:01
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