Auto-generate API documentation for Python projects.
Project description
pdoc
Auto-generate API documentation for Python projects.
Installation
$ pip install pdoc3
Usage
Pdoc will accept a Python module file, package directory or an import path.
$ pdoc your_project
See pdoc --help
for more command-line switches and the documentation
for more usage examples.
Features
- Simple usage. Generate sensible API (+ prose) documentation without any special configuration.
- Support for common docstrings formats (Markdown, numpydoc, Google-style docstrings), LaTeX math, and some reST directives.
- Support for PEP 484 type annotations.
- pdoc respects
__all__
when present. - Inheritance used as applicable for inferring docstrings for class members.
- Support for documenting module, class, and instance variables by traversing ASTs.
- Automatic cross-linking of referenced identifiers in HTML and PDF.
- Overriding docstrings with special module-level
__pdoc__
dictionary. - Built-in development web server for near-instant preview of rendered docstrings.
The above features are explained in more detail in pdoc's documentation (which was generated with pdoc).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdoc3-0.6.4.tar.gz
(65.7 kB
view details)
File details
Details for the file pdoc3-0.6.4.tar.gz
.
File metadata
- Download URL: pdoc3-0.6.4.tar.gz
- Upload date:
- Size: 65.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85cbb0de17d1306157d19b08b67ad84817098c12ad9f92ec203b79d0307b6a25 |
|
MD5 | 4d8735a36a5f05ac3de80fcf0804dd66 |
|
BLAKE2b-256 | 3257ae74ea7278b2f0ba22cfee4f872fb236f7abeb3218353ae9126945ed951b |