Published
Supporting continuous HTML section numbering
pip install sphinx-multitoc-numbering
Package Downloads
Authors
Requires Python
sphinx-multitoc-numbering
A Sphinx extension to support continuous numbering of sections across multiple tocs in HTML output.
This package contains a Sphinx extension to continuously number sections across multiple toctrees present in the same document. Also quite useful in jupyter-book projects for continuous numbering of chapters across different parts.
Get started
To get started with sphinx-multitoc-numbering, first install it through pip:
pip install sphinx-multitoc-numbering
then, add sphinx_multitoc_numbering to your sphinx extensions in the conf.py
...
extensions = ["sphinx_multitoc_numbering"]
...
Documentation
See the sphinx-multitoc-numbering documentation for more information.
Contributing
We welcome all contributions! See the EBP Contributing Guide for general details.