Cloudflare Pages
The docs site builds with VitePress and deploys as static assets.
Local Commands
sh
bun run docs:dev
bun run docs:build
bun run docs:previewGitHub Secrets
Add these repository secrets before enabling production deploys:
CLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_ID
The workflow deploys docs/.vitepress/dist to the Cloudflare Pages project named ark-docs. Until both secrets exist, the workflow still builds and uploads the docs artifact but skips deploy.
Source
This follows Cloudflare's Direct Upload path with Wrangler:

