Skip to content

📜 Document Cloudflare Pages infrastructure#5

Merged
lucasrodes merged 1 commit into
mainfrom
document-cf-infra
May 19, 2026
Merged

📜 Document Cloudflare Pages infrastructure#5
lucasrodes merged 1 commit into
mainfrom
document-cf-infra

Conversation

@lucasrodes
Copy link
Copy Markdown
Member

Written by Claude Code — @lucasrodes at the wheel.

Adds INFRASTRUCTURE.md covering:

  • The umbrella + router architecture (three Pages projects, one custom domain).
  • What _worker.js does and the order of its responsibilities (legacy URL rewrite → subproject routing → static fallback).
  • A runbook for adding a new subproject (CF project creation, workflow scaffold, worker entry, merge order).
  • Common ops: cache purge, custom-domain swap, production-branch gotcha, required repo secrets.

Trims README.md to a repo-overview + pointer at the new file. The previous README was largely about the mkdocs → zensical migration plan, which has since happened.

Pairs with the now-merged owid-docs#2/#3/#4 and owid/etl#6148, owid/owid-grapher-py#26.

Adds INFRASTRUCTURE.md covering the three-project umbrella+router
layout, the _worker.js routing logic, and a runbook for adding new
subprojects + common ops (cache purge, domain swap). Trims README
down to a repo overview pointing at the new file; the prior mkdocs
→ zensical migration content is now stale since that migration
already happened.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lucasrodes lucasrodes marked this pull request as ready for review May 19, 2026 13:42
@lucasrodes lucasrodes merged commit bba6320 into main May 19, 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