Deploying this docs site
These docs are a standalone Astro site deployed to docs.openeditor.ai via Cloudflare Pages. This is a separate repo so the docs never affect the marketing site.
Prerequisites
- Cloudflare API token with Zone edit and Pages edit on
openeditor.ai. - That token set as
CLOUDFLARE_API_TOKEN.
One-command deploy
./deploy-docs.sh This builds the site and pushes it to the openeditor-docs Pages project.
Manual deploy
bun install
bun run build
CLOUDFLARE_ACCOUNT_ID=cfd5efff3086fa259884a3e79958c847 \
CLOUDFLARE_API_TOKEN=... \
wrangler pages deploy dist --project-name=openeditor-docs --branch=main First-time setup (already done)
- Create the Pages project:
openeditor-docs. - Add the custom domain
docs.openeditor.ai. - Add the DNS CNAME
docs→openeditor-docs.pages.dev(proxied).