Published
Supporting continuous HTML section numbering
pip install sphinx-multitoc-numbering
Package Downloads
Authors
Requires Python
Dependencies
- sphinx
(>=3) - flake8
(<3.8.0,>=3.7.0) ; extra == 'code_style' - black
; extra == 'code_style' - pre-commit
(==1.17.0) ; extra == 'code_style' - sphinx
(>=3.0) ; extra == 'rtd' - sphinx-book-theme
; extra == 'rtd' - myst-parser
; extra == 'rtd' - pytest
(~=5.4) ; extra == 'testing' - pytest-cov
(~=2.8) ; extra == 'testing' - coverage
(<5.0) ; extra == 'testing' - pytest-regressions
; extra == 'testing' - jupyter-book
; extra == 'testing'
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.