API routes
FastAPI and Flask decorators on any router or blueprint (with same-file prefixes), Django path() and re_path(), DRF router.register, and Starlette Route.
Python repositories
Sphinx and pdoc turn docstrings into API reference. Moxie Docs covers the rest: how the project is laid out, which routes it serves, what it depends on, how to run its checks, and the conventions a new engineer or coding agent should follow - re-checked every time the code merges.
What you get
FastAPI and Flask decorators on any router or blueprint (with same-file prefixes), Django path() and re_path(), DRF router.register, and Starlette Route.
Relative imports, dotted package imports, __init__.py packages, and src/ layouts resolve to real files, so PR checks know which modules depend on a change.
Libraries come from pyproject.toml (PEP 621, Poetry, uv groups), requirements*.txt, setup.cfg, and Pipfile, matched to imports like yaml to PyYAML.
Agents get the commands your repo actually uses - uv run pytest, poetry run ruff check ., tox, nox, or Makefile targets - instead of a guess.
test_*.py, *_test.py, tests/ folders, and conftest.py count as tests, not as undocumented source.
Top-level and decorated functions and classes are captured per module, and __all__ decides what counts as public.
How it works
Install the app on the Python repositories you want covered. Virtualenvs, site-packages, __pycache__, and egg-info folders are skipped.
Moxie Docs reads the source, resolves imports, reads manifests and tool config, and writes the architecture, conventions, API surface, and setup pages.
Cursor, Claude Code, and Codex get the same docs, conventions, and check commands over MCP before they edit.
Every merge re-checks the pages that cite changed files. Fixes arrive as docs-only PRs your team reviews.
Scope
Python already has good tools for API reference. Moxie Docs does not replace them, and it is honest about the overlap.
Sphinx with autodoc, mkdocstrings, and pdoc render a page per module from your docstrings. That is the right tool for a public library's reference. What they do not do is explain how an application fits together, notice when a merged change made a guide wrong, or tell a coding agent how your team writes code.
Moxie Docs writes that descriptive layer from the repository and keeps it current. Many teams run both: a docstring reference site for the public API, and Moxie Docs for architecture, conventions, setup, and agent context. Existing .rst and Markdown docs are indexed and checked for drift, never overwritten.
At a glance
Sphinx / pdoc
Wiki or README
Moxie Docs
Sphinx / pdoc
Wiki or README
Moxie Docs
Sphinx / pdoc
Wiki or README
Moxie Docs
Sphinx / pdoc
Wiki or README
Moxie Docs
Sphinx / pdoc
Wiki or README
Moxie Docs
| Sphinx / pdoc | Wiki or README | Moxie Docs | |
|---|---|---|---|
| Written from | Docstrings | Whoever last edited it | Source, manifests, and tool config |
| Architecture and flows | Hand-written pages | Hand-written pages | Generated and cited to source |
| Notices stale docs | No | No | On every merge |
| Per-symbol API reference | Yes | No | No - summaries, not a reference site |
| Readable by coding agents | As HTML | Copy and paste | Served over MCP |
FAQ
Get started
The first index reads your routes, dependencies, and tooling and writes the architecture, conventions, and setup docs. Free on one repo, no card required.