Docs Publishing Workflow
Site app
Section titled “Site app”Docs site source:
/Users/aaronbaker/knearme-platform/apps/knearme-dev-docs
Sync contract
Section titled “Sync contract”Build and dev run sync:docs, which:
- Validates
/docs/appsstructure and frontmatter. - Fails on missing required pages/keys.
- Copies canonical docs to
apps/knearme-dev-docs/src/content/docs/apps.
Local commands
Section titled “Local commands”pnpm -C apps/knearme-dev-docs devpnpm -C apps/knearme-dev-docs buildCloudflare Pages build settings
Section titled “Cloudflare Pages build settings”Use Git integration with:
- Root directory: repository root.
- Build command:
pnpm install --frozen-lockfile && pnpm -C apps/knearme-dev-docs build. - Build output directory:
apps/knearme-dev-docs/dist. - Environment variable:
NODE_VERSION=22.
Branch behavior
Section titled “Branch behavior”- Production branch:
master. - Preview deployments enabled for same-repo PR branches.
- Build watch paths include docs app and canonical docs source paths.