Docs on Cloudflare Pages¶
The MkDocs site lives in docs-site/. It was set up for Cloudflare Pages with optional Zero Trust Access so only org emails could view docs.
Repo notes also live in root mkdocs.md (operator diary for Pages + Access). Prefer this runbook for the durable summary.
Build settings¶
| Setting | Value |
|---|---|
| Root directory | docs-site |
| Framework | None |
| Build command | pip install -r requirements-docs.txt && mkdocs build --strict |
| Output directory | site |
| Env | PYTHON_VERSION=3.12 |
Privacy¶
- Disable preview deployments if docs must stay private (PR preview URLs are easy to leak).
- Enable Cloudflare Access on the Pages project; allow
@greyhavengroup.com(or your IdP). - Point Access public hostname at the custom docs domain if you use one (e.g.
docs.…), not only the*.pages.devname.