This is the Starlight documentation site for
things-cli.
npm ci
npm run devBuild and preview the production site locally with:
npm run build
npm run previewThe static site is written to dist/.
Create a Pages project connected to this repository with these settings:
- Root directory:
docs - Build command:
npm run build - Build output directory:
dist - Node.js version: use the current supported LTS version, or set
NODE_VERSIONin the Pages environment variables
Cloudflare Pages installs dependencies from package-lock.json before running the
build. No Cloudflare adapter or runtime functions are needed because Astro emits
static HTML. Set SITE_URL to the canonical Pages URL if you want Astro to emit
a sitemap; it is optional for deployment.
If the Pages project must use the repository root as its root directory, use:
- Build command:
npm --prefix docs ci && npm --prefix docs run build - Build output directory:
docs/dist