Skip to main content

Keystatic admin

In production, this route hosts the typed Keystatic admin UI. The Cloudflare Pages routing maps /keystatic/* to a sister Next.js app that boots Keystatic with the schemas declared in keystatic.config.ts.

Local dev

From the repo root:

pnpm install
pnpm --filter alphaswarm_docs run keystatic:dev    # boots Keystatic at :8787

Quick fixes

If you just need to fix a typo or update a one-line summary, open the page in github.dev directly:

Every page on this site also has an "Edit this page" link at the bottom that opens that page directly in github.dev.

Workflow

  1. Keystatic creates a branch for your edits.
  2. Save in the Keystatic UI to open a PR against main.
  3. The same docs-CI suite runs (Vale, link check, Lighthouse, axe).
  4. A CODEOWNERS reviewer approves and merges.