Skip to content

A Sphinx extension to support continuous numbering of sections across multiple tocs in HTML output.

License

Notifications You must be signed in to change notification settings

executablebooks/sphinx-multitoc-numbering

Repository files navigation

sphinx-multitoc-numbering

Documentation Status Github-CI Coverage Status

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.