Sphinx plugin based on autosummary, that automatically collects symbols if non are provided .
Project description
sphinx-autosummary-autocollect
Sphinx plugin based on autosummary, that automatically collects symbols if non are provided.
Installation
Install the latest built version via:
pip install sphinx-autosummary-autocollect
To develop on this project, clone it via:
git clone git@github.com:helpmefindaname/sphinx_autosummary_autocollect.git
cd sphinx_autosummary_autocollect
Then use poetry to install the project:
poetry install
Usage
Note
This plugin was only tested with sphinx 7.4.7. If you are using a newer version and the plugin stops working, please create an issue
This plugin is based on AutoSummary and should be used the same way. There are only 2 differences:
- in the
conf.py
theextensions
-list should not contain"sphinx.ext.autosummary"
but"sphinx_autosummary_autocollect"
- in the
.. autosummary::
you can provide no symbols. In that casesphinx_autosummary_autocollect
will build a table and subpages for all elements that can be extracted from the "current-module"
for example, instead of specifying:
my_module
=========
.. currentmodule:: my_module
.. autosummary::
:toctree: generated
:nosignatures:
class1
function1
you can now leave the elements out:
my_module
=========
.. currentmodule:: my_module
.. autosummary::
:toctree: generated
:nosignatures:
Note
This is a note
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
Built Distribution
Close
Hashes for sphinx_autosummary_autocollect-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fdcba00f04a5a696239fae9e3d01367abf4afc82eda3e583cb3d9e95c2122ac |
|
MD5 | 8d74e37de40d8fa88db8b5116ac02670 |
|
BLAKE2b-256 | 0c6c7743abec39dc55a911f8bdca103dc6146f0e3f616b4664c1b371100132f5 |
Close
Hashes for sphinx_autosummary_autocollect-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d66f61b1d5be31a63051c0e2b585fe7a1625b95fd95f0dca1263bb4d399074 |
|
MD5 | 36696b927c9cbb81517034bf8b44c487 |
|
BLAKE2b-256 | a21efe7996f318a02b37996ca8d627abef03f67ee9a0b137a35dca234c33f5d6 |