Iterative Workflow
A docs build runs through the CLI in a single pass.
Build commands
What a combined build does
- Validates the requested modes (
--mkdocs,--api,--wiki,--mcp). - Generates library sources under
docs/lib/**withMkDocsRenderer. - Generates API sources under
docs/api/**when--apiis given. - Derives wiki navigation from
docs/wiki/**. - Writes
mkdocs.ymlwith merged navigation — wiki first, generated groups appended, and the wikiHomereplacing any specHomeentry. - Runs
mkdocs buildonce and emits the site.