- fix GSDFC spec contradictions in __init__ docstring (parenthesized types, fenced-block rule) and sync generated README - rewrite docstrings across loaders, models, nav, servers, renderers, cli; sync .pyi stubs - add pydoclint (google style) gate to dev extras and pyproject config - fix mcp nav resources doc:// -> docs:// - refresh docs/lib and docs/mcp, drop stale docforge/ duplicate group - update wiki pages and add GSDFC + MCP guides under 05_development
796 B
796 B
Quality Gates
Run all checks before pushing:
.venv\Scripts\python.exe -m pytest
.venv\Scripts\python.exe -m ruff check docforge tests
.venv\Scripts\python.exe -m black --check docforge tests
.venv\Scripts\python.exe -m mypy docforge
.venv\Scripts\pydoclint.exe docforge
Test layout
| Path | Covers |
|---|---|
tests/nav/ |
Nav spec, resolver, wiki nav |
tests/cli/ |
Build command flows and modes |
tests/renderers/ |
MkDocs / MCP rendering |
CLI tests use the cli_runner fixture with mock_mkdocs_build and
mock_mkdocs_load_config so they exercise the full flow without invoking a
real MkDocs build.