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

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)

  1. Create the Pages project: openeditor-docs.
  2. Add the custom domain docs.openeditor.ai.
  3. Add the DNS CNAME docsopeneditor-docs.pages.dev (proxied).