Customised version of sphinx.ext.autodoc and sphinx.ext.autosummary
Project description
Sphinx-autox
A little opinionated version of autodoc and autosummary that recursively documents your modules and creates one file per class.
Usage
Add sphinxext_autox
as the first entry to your extensions in conf.py
:
extensions = [
'sphinxext_autox',
...
]
Create a api.rst
file like the following:
My API
======
.. autosummary::
:toctree: source
:recursive:
mymodule1
mymodule2
The stub files will be created/maintained in the source
folder.
Critique
Unfortunately, since other files in Sphinx also try to load autodoc, this package has to replace the original files. It isn't possible to make a custom version without also having to change the rST tags.
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
sphinxext_autox-0.0.1.tar.gz
(50.1 kB
view hashes)
Built Distribution
Close
Hashes for sphinxext_autox-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 979f30ce404462b80957add5a775ef8b7e0015dda3c8edc70bda518f18f91281 |
|
MD5 | 51d76a6db033310d2ffa45bd8c861879 |
|
BLAKE2b-256 | fd7a6e41c4fb257b7dac6570515d1c319ff0385fb87392af4c365ac53a9582ec |