skillfed

sphinx-multitoc-numbering

Supporting continuous HTML section numbering

sphinx-multitoc-numbering v0.1.3 231.1K downloads/30d#9,097 on PyPI
Permissive license MIT Abandoned released

What it is and what it does

sphinx-multitoc-numbering is a Sphinx extension that solves a specific documentation problem: when you split a large document into multiple table-of-contents (toctree) structures—common in jupyter-book projects with separate parts or sections—the default Sphinx behavior resets section numbering at each toctree boundary. This extension maintains continuous numbering across those boundaries, so chapters and sections are numbered sequentially throughout the entire document.

You install it as a standard Sphinx extension by adding it to the extensions list in conf.py. It has only one runtime dependency: Sphinx itself. The extension integrates directly into Sphinx's HTML generation pipeline and requires no additional configuration beyond activation. However, the package has not been updated since 2021-03-15, which means it may have compatibility issues with recent Sphinx releases and will not receive maintenance fixes.

Use it for:

  • Multi-part jupyter-book projects where you want chapters numbered continuously across separate parts instead of restarting at each part.
  • Large Sphinx documentation split into multiple toctrees where section numbers should flow sequentially rather than reset.
  • Academic or technical documents with chapters organized across different toctree structures that need unified numbering.
  • Documentation projects that need Sphinx to maintain continuous numbering across organizational boundaries.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Sphinx extension that maintains continuous section numbering across multiple table-of-contents structures in HTML output, useful for multi-part documents and jupyter-book projects.

Yes, if your Sphinx version is compatible with the 0.1.3 release from 2021-03-15. The extension solves a real problem with minimal install friction and permissive licensing. However, verify compatibility with your Sphinx version first, as the abandoned status means no updates for newer releases. If you encounter issues with current Sphinx versions, check for community forks or consider whether the numbering problem can be solved another way.

Install

sphinx-multitoc-numbering on PyPI

pip

pip install sphinx-multitoc-numbering

uv

uv add sphinx-multitoc-numbering

poetry

poetry add sphinx-multitoc-numbering

Installing sphinx-multitoc-numbering

Before you install

Installation is straightforward with no complex dependencies beyond Sphinx itself. However, the package has been abandoned since its last release on 2021-03-15, so it will not receive bug fixes or compatibility updates for newer Sphinx versions.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.

Quickstart

pip install sphinx-multitoc-numbering

Then in conf.py:
extensions = ["sphinx_multitoc_numbering"]

Requires an existing Sphinx documentation project with conf.py.

Verify before relying

  • Compatibility with Sphinx versions released after 2021-03-15
  • Whether the extension works with current stable Sphinx releases
  • Active maintenance status or community forks that may have continued development

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — sphinx
Maintenance abandoned — 1,978 days since the last release
First released
Downloads 231,062/month — #9,097 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: sphinx_multitoc_numbering-0.1.3-py3-none-any.whl

Tags

sphinx section numbering across tocscontinuous chapter numbering sphinxmulti-toctree numberingjupyter-book chapter numberingsphinx html section numberingcross-toctree section numberssphinx documentation numbering
sphinx-extensiondocumentation-build

More Sphinx packages

docstring-parser

Parses Python docstrings in ReST, Google,…

permissive · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

sphinxcontrib-qthelp

A Sphinx extension that converts documentation…

permissive · top 1,000 on PyPI

sphinx_external_toc

A Sphinx extension that defines documentation…

permissive · top 15,000 on PyPI

sphinx-remove-toctrees

A Sphinx extension that selectively removes…

permissive · top 15,000 on PyPI

sphinx-tabs

A Sphinx extension that adds tabbed content…

permissive · top 5,000 on PyPI

myst-nb

Sphinx extension that parses and converts…

unclear · top 5,000 on PyPI

sphinx_design

A Sphinx extension that adds responsive web…

permissive · top 5,000 on PyPI

myst-parser

MyST-Parser extends CommonMark-compliant…

permissive · top 5,000 on PyPI

autoclasstoc

Generates a structured table of contents for…

unclear · top 15,000 on PyPI

sphinx-togglebutton

A Sphinx extension that adds collapsible toggle…

permissive · top 15,000 on PyPI

sphinx-panels

A Sphinx extension that adds directives for…

permissive · top 15,000 on PyPI

sphinx-sitemap

Generates sitemaps.org-compliant XML sitemaps…

permissive · top 15,000 on PyPI