Goal
Serve the Next.js documentation site (website/, OpenNext + Workers) at https://docs.clawql.com with free-tier Cloudflare usage only (Workers within free limits, no paid add-ons required for basic hosting).
Scope
- Build:
website/ with @opennextjs/cloudflare + wrangler deploy
- Custom domain: docs subdomain on existing zone clawql.com (Workers custom domain / attach API)
- Canonical URL:
NEXT_PUBLIC_SITE_URL=https://docs.clawql.com at build time for sitemap/metadata
- Document operator steps in repo (script + env vars) and verify free-tier constraints (no R2 cache binding unless required, etc.)
References
Acceptance
Goal
Serve the Next.js documentation site (
website/, OpenNext + Workers) at https://docs.clawql.com with free-tier Cloudflare usage only (Workers within free limits, no paid add-ons required for basic hosting).Scope
website/with@opennextjs/cloudflare+wrangler deployNEXT_PUBLIC_SITE_URL=https://docs.clawql.comat build time for sitemap/metadataReferences
website/wrangler.jsonc,website/package.json(npm run deploy)Acceptance
https://docs.clawql.comserves the docs site over HTTPS