A legacy Python handler for mkdocstrings.
Archived. The repository is read-only: no more fixes or releases will come.
pip install mkdocstrings-python-legacymkdocstrings-python-legacy
The legacy Python handler for mkdocstrings.

WARNING: We suggest using the new handler instead: mkdocstrings-python.
Installation
You can install this handler as a mkdocstrings extra:
# PEP 621 dependencies declaration
# adapt to your dependencies manager
[project]
dependencies = [
"mkdocstrings[python-legacy]>=0.18",
]
You can also explicitely depend on the handler:
# PEP 621 dependencies declaration
# adapt to your dependencies manager
[project]
dependencies = [
"mkdocstrings-python-legacy",
]
Preview

Features
-
Data collection from source code: collection of the object-tree and the docstrings is done thanks to pytkdocs.
-
Support for type annotations: pytkdocs collects your type annotations and uses them to display parameters types or return types.