About this portal¶
What it is¶
The portal is built with MkDocs (Material theme). It has three kinds of content:
- Written pages: platform overview, features, repository notes. Written by people and checked against source.
- Generated pages: the repository table, API catalog, environment variables and feature map under Reference. Rebuilt from the code graph.
- Code explorer: one Graphify graph of all six repositories, with repo groups, HTTP links between them, and document headings.
- Source docs: copies of each repository's Markdown files, so site search finds them. Each copy links to its source file at the analysed commit. Files that look like they contain credentials are not copied; only their names are listed.
How it stays current¶
The portal is refreshed by hand, from the maintainer's machine, so that a person reviews every change:
python scripts/refresh.py rebuild changed code graphs, copy documents, check links
│
├─ no meaningful code change ──► done
└─ meaningful change ──► review brief (.build/update_brief.md)
└─► /refresh-portal in Claude Code edits the affected pages
└─► refresh.py check ──► refresh.py accept ──► git diff, then commit
Claude edits only the business, repository and overview pages, the glossary, the home page and the feature registry. The check step rejects any other change, and the maintainer decides what to commit.
Scope and limits¶
- The graphs are built from source code with no language model, so they show structure (files, classes, functions, imports), not behaviour.
- The platform graph links repos through HTTP calls matched by path, plus shared databases declared by hand. See code explorer.
- HTTP routes are read with patterns, not by running the apps. Routes mounted under a prefix in an unusual way may be missed; check the API catalog against the code when in doubt.
- Business explanations are written by hand. The automation can flag them as stale but cannot confirm a business rule on its own.
Maintaining it¶
See CLAUDE.md in the portal repository for the workflow, the scripts and the required secrets.