Getting Started
This documentation site is built with Astro and the Starlight theme, and is intended to be deployed on Cloudflare Pages.
Prerequisites
- Node.js 18.14 or newer
- npm (or pnpm/yarn)
- Cloudflare CLI:
wrangler(for deploys)
Local development
npm installnpm run devOpen the local server URL printed in the terminal.
Build
npm run buildnpm run previewDeploy to Cloudflare Pages
You can deploy the static build output from ./dist with Wrangler:
npm run buildnpx wrangler pages deploy ./dist --project-name uizap-docsAfter creating or linking the Pages project in Cloudflare, map the custom domain
docs.uizap.com to this Pages project in the Cloudflare dashboard.