pysciidoc
reads python docstrings and converts them to formatted asciidoc.
It is meant to be used in conjunction with antora to
automatically generate the documentation for the python package's API.
Find full documentation at https://glencoe.github.io/pysciidoc/
- automatically generate
nav.adoc
file for antora - show type hints in documentation
- show default values for function arguments
pip install 'git+https://github.com/glencoe/pysciidoc.git'
pysciidoc --api-output-dir <path> --nav-file <path> <package-name>
pysciidoc --api-output-dir docs/modules/api/pages \
--nav-file docs/modules/api/nav.adoc pysciidoc
- automatically format and link google doc style
- examples
- attributes
- return values
- resolve type hints for
<factory>
from dataclass signatures
- support for annotated attributes and variables
- not supported because there is no PEP specifying how to annotate these