Docs
docs
Audit checks for documentation (7 checks, 18 pts).
check_diataxis_nav(project)
Check 20: nav has Tutorials + How-To + Reference + Explanation.
Source code in packages/axm-init/src/axm_init/checks/docs.py
check_gen_ref_pages(project)
Check 22: docs/gen_ref_pages.py exists.
Source code in packages/axm-init/src/axm_init/checks/docs.py
check_mkdocs_exists(project)
Check 19: mkdocs.yml exists.
Source code in packages/axm-init/src/axm_init/checks/docs.py
check_plugins(project)
Check 21: gen-files + literate-nav + mkdocstrings.
For workspace members (project.parent.name == "packages"), missing
plugins are re-checked against the workspace-root mkdocs.yml so that
nav-only local configs do not trigger false positives.
Source code in packages/axm-init/src/axm_init/checks/docs.py
check_readme(project)
Check 23: README.md sections.
Source code in packages/axm-init/src/axm_init/checks/docs.py
check_readme_badges(project)
Check 24: README has axm-audit + axm-init badges.
Source code in packages/axm-init/src/axm_init/checks/docs.py
check_standalone_api_ref(project)
Check 22b: a member's own reference/api/ nav must build standalone.
Guards mkdocs build --strict standalone integrity. Unlike
:func:check_plugins / :func:check_gen_ref_pages, this check does NOT
fall back to the workspace-root mkdocs.yml: if a package's local
nav declares an auto-generated reference/api/ section, the package
MUST carry its own docs/gen_ref_pages.py and the gen-files /
literate-nav / mkdocstrings plugins locally — otherwise the promised
section resolves to nothing and --strict aborts. The root fallback
(correct for monorepo aggregation) previously masked this on scaffolded
members, so a green init_check coexisted with a red standalone build.
Passes trivially when the local nav makes no reference/api/ promise
or when no local mkdocs.yml exists.