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.
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"]
...See the sphinx-multitoc-numbering documentation for more information.
We welcome all contributions! See the EBP Contributing Guide for general details.