API documentation for Python projects
open sourceMIT-0free
pdoc generates API documentation for Python projects from their docstrings and type annotations, following the module hierarchy with no configuration. It cross-links identifiers, understands numpydoc and Google-style docstrings, renders Markdown, and comes with a live-reloading web server for previewing docs while you write them.
Problems it solves
- generate API docs for my Python package without writing a config
- turn my docstrings and type hints into a documentation website
- preview my Python API docs live while I edit docstrings
Features
- no configuration needed
- first-class support for type annotations
- cross-links between identifiers
- numpydoc and Google-style docstrings
- live-reloading web server
Alternatives
The same job
These do what pdoc does.
- JSDoc API documentation generator for JavaScript from comments in the code
- mkdocstrings Automatic documentation from sources, for MkDocs