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 |
|
Anaconda |
|
Activity |
|
QA |
|
Other |
Installation
toctree_plus can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install toctree_plus
To install with conda:
First add the required channels
$ conda config --add channels http://conda.anaconda.org/conda-forge $ conda config --add channels http://conda.anaconda.org/domdfcoding
Then install
$ conda 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.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec0830f0ca2d012da1a618e3d39a7167463e8c498e1d7a5f1da7c4907f3dd60 |
|
MD5 | 356a4fb49c5cf424098af104afb508f7 |
|
BLAKE2b-256 | e581841f56618700a1d7eaf11879a94ea2643c0ed590895e7522a6efddcfcf63 |