Documentation site for the Capability Host Protocol, built with
Fumadocs on Next.js 16. Intended to deploy at
docs.capabilityhostprotocol.com.
- Authored narrative lives in
content/docs/*.mdx(Start-here, Concepts, the agent quickstart). - Synced reference is generated into
content/docs/{reference,guides,compare}byscripts/sync-content.mjsfrom the siblingchp-corerepo:reference/spec←chp-core/spec/chp-v0.1.mdreference/schemas← index ofchp-core/schemas/*.jsonreference/adapters←chp-core/registry/adapters.jsonguides/adapter-authoring,compare/*←chp-core/docs/*
The generated files are committed to this repo. The sync runs on
predev / prebuild, but it is deploy-safe: when chp-core is not present
as a sibling directory (e.g. on Vercel), the sync logs a notice and keeps the
committed content, so the build never depends on chp-core.
To refresh the reference after chp-core changes, run locally:
npm run sync # regenerates from ../chp-core
git add content/docs && git commit -m "docs: refresh synced reference"npm install
npm run dev # http://localhost:3000Deploys via GitHub → Vercel (same pipeline as chp-site): push to the
project's GitHub repo and Vercel builds with npm run build. Assign
docs.capabilityhostprotocol.com to this project in Vercel.