This service is the internal documentation host for the platform. It now builds and serves a TypeDoc site that combines repo-relevant TypeScript reference material with the active markdown documentation tree.
cd services/documentation-core
uv sync
npm install
Start this service only through the automation stack:
uv run --with fastapi==0.115.14 --with uvicorn==0.37.0 --with pydantic==2.11.7 --with starlette==0.46.0 python scripts/automation.py up --start-stack
If you need to run it directly for local debugging, start it with src on the app path:
cd services/documentation-core
uv run python -m uvicorn documentation_core.main:app --app-dir src --host 127.0.0.1 --port 50101
Build the TypeDoc site on demand without starting the service:
npm run docs:build
For the managed deploy path, the remote rollout script now installs the repo-root Node tooling, builds the TypeDoc site with npm run docs:build, and then restarts documentation-core. A healthy process is not enough for rollout success anymore: deployment also waits for GET /ready, GET /typedoc-status, and GET / to succeed.
Health check:
GET /health — includes ready and site_readyGET /readyContent endpoints:
GET / — generated TypeDoc documentation siteGET /typedoc-status — TypeDoc build metadata and latest error statePOST /typedoc-refresh — rebuild the TypeDoc site synchronouslyGET /pages — available documentation filesGET /raw/{page} — returns markdown source