Skip to content

🔨 Cut-over prose + COVID docs redirect for docs.owid.io#6

Merged
lucasrodes merged 1 commit into
mainfrom
docs-cutover
Jun 7, 2026
Merged

🔨 Cut-over prose + COVID docs redirect for docs.owid.io#6
lucasrodes merged 1 commit into
mainfrom
docs-cutover

Conversation

@lucasrodes
Copy link
Copy Markdown
Member

Written by Claude Code — @lucasrodes at the wheel.

Part of the RtD → CF Pages cut-over (owid/etl#6151).

  • _worker.js: 301 /projects/covid/*https://owidcovid-19-data.readthedocs.io/*. The legacy COVID docs are an RtD subproject that was never migrated to CF — without this, every docs.owid.io/projects/covid/... link in the wild 404s after the swap. Runs before the /en/latest strip (RtD needs the version segment).
  • README/INFRASTRUCTURE: describe the post-cut-over state (docs.owid.io = production on CF, docs-cf.owid.io kept as staging alias).

⚠️ Cut-over dependency: at swap time the docs.owid.io custom domain must be removed from the RtD owid-docs project, otherwise RtD keeps 302-ing the COVID docs' native URL back to docs.owid.io and the redirect loops. Safe to merge before the swap (no loop while RtD still serves docs.owid.io), but the prose reads post-cut-over.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lucasrodes lucasrodes marked this pull request as ready for review June 7, 2026 09:54
@lucasrodes lucasrodes merged commit 2048719 into main Jun 7, 2026
1 check 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.

1 participant