@voice-infra/docs
Static docs site (VitePress): quickstarts, concepts, SDK + MCP references and the generated API reference.
bash
pnpm --filter @voice-infra/docs dev # http://localhost:5173
pnpm --filter @voice-infra/docs build # → .vitepress/dist
pnpm --filter @voice-infra/docs previewGenerated pages
scripts/build-api-reference.mjs runs before dev and build (or alone via pnpm --filter @voice-infra/docs api-ref):
reference/resources.md— every SDK resource/method (Node + Python names), generated frompackages/sdk-node/codegen/resources.json, the same table both SDKs are generated from.reference/api.md— the REST reference rendered from the OpenAPI spec thatapps/apiserves at/docs/json:bashOPENAPI_URL=http://localhost:8080/docs/json pnpm --filter @voice-infra/docs build OPENAPI_FILE=./openapi.json pnpm --filter @voice-infra/docs build # try it with the fixture: OPENAPI_FILE=scripts/fixtures/sample-openapi.json pnpm --filter @voice-infra/docs buildThe spec is also published at
/openapi.json. Without either variable a placeholder page is written, so offline builds work.
Both generated files are rewritten on every build — edit the generator, not the output.