Getting started

Run the docs site locally and make your first change.

Run it

pnpm install
pnpm dev

The site is served at localhost:3000/docs.

The two content sources

SourceLives inRendered by
Guidescontent/docs/**/*.mdxFumadocs MDX
API referencecontent/api-specs/{env}.openapi.jsonGenerated pages under /docs/api-reference

Sidebar navigation for both is precomputed into content/api-specs/*.nav.json by scripts/generate-sidebar.py and loaded server-side — the client nav never walks the content tree itself.

API environment

The API is configured in lib/api-environments.ts and served from https://vsqrd.com; the reference lives at /docs/api-reference. Run pnpm sync:api to pull the live spec and regenerate the reference.

Useful scripts

CommandWhat it does
pnpm sync:apiPull OpenAPI for all envs, rebuild manifests, nav and status
pnpm sidebar:genRegenerate nav JSON from local content + manifests
pnpm check:linksVerify internal links resolve
pnpm types:checkMDX typegen + tsc --noEmit