Documentation site for DeGov.AI, built with MkDocs Material and deployed to docs.degov.ai via Vercel.
docs/— Markdown sources (the only committed content).docs/governance/**— DeGov Square / Governor platform documentation.docs/atlas/**— DeGov Atlas product and data documentation.docs/agent-api/**— Agent API current guides, concepts, and reference.docs/agent-skills/**— Agent skills documentation.
mkdocs.yml— site configuration and navigation.site/— generated build output (gitignored, not committed).
Use Python 3.12 so the local environment matches CI and deployment builds.
python3.12 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/mkdocs serveOpen http://127.0.0.1:8000.
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python -m pip check
.venv/bin/mkdocs build --strict
.venv/bin/python scripts/verify-agent-api-docs.py--strict fails on broken links, missing pages, and documentation warnings. Use it before pushing.
For an explicit read-only check against the deployed API, run .venv/bin/python scripts/verify-agent-api-production.py. It verifies the OpenAPI contract, free requests, validation errors, and unsigned x402 challenges; it never signs or settles payment.
- Pushes to
maindeploy to staging (Vercel preview). - Tagged releases (
v*) deploy to production (docs.degov.ai).
See .github/workflows/ for the exact pipeline.
- All public API contract facts (fields, enums, required/default, error codes) come from the OpenAPI documents generated by the backend (
https://agent-api.degov.ai/openapi.json). Guides reference fields for workflows and do not duplicate full schemas. - Proposed/unreleased features are marked with a
not yet availableadmonition and must not be presented as live. - Keep user-facing pages task-oriented: goal, prerequisites, call graph, request, response excerpt, interpretation, next actions, failure recovery.