Enhanced Sphinx TocTree that shows classes and functions as if they were sections.
Project description
Enhanced Sphinx TocTree that shows classes and functions as if they were sections.
Docs |
|
---|---|
Tests |
|
PyPI |
|
Activity |
|
Other |
Installation
toctree_plus can be installed from PyPI.
To install with pip:
$ python -m pip install toctree_plus
Enable toctree_plus by adding "sphinxcontrib.toctree_plus" to the extensions variable in conf.py:
extensions = [
...
"sphinxcontrib.toctree_plus",
]
For more information see https://www.sphinx-doc.org/en/master/usage/extensions/index.html#third-party-extensions .
Configuration
There is currently only a single configuration option: toctree_plus_types. This determines the directive types that appear in the toctree. The default value is {"class", "function", "method"}.
Links
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
Hashes for toctree_plus-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0acb5edbf084b586c42ae283946fd4fb7dd249edaf1c9bbd9335bd228bfd8bcc |
|
MD5 | 1ab36899ed5393aa54b6f0e19e6179d2 |
|
BLAKE2b-256 | 397696ed9e6e1cc3fb603b6f4a37bd94a7bddcd2679e607864849da27bc3c9a3 |