sphinx-multiversion
Add support for multiple versions to sphinx
What it is and what it does
sphinx-multiversion is a Sphinx extension designed to automate the building and hosting of multiple versions of documentation from a single repository. Instead of manually managing separate documentation builds for each release, it integrates into your Sphinx workflow to generate versioned docs that can be served together, with a clean UI for switching between versions.
The package depends only on sphinx and aims for a minimal, non-invasive implementation. However, it has been abandoned since 2020-08-12 and has not received updates. This means it was last tested against Sphinx versions from that era, and compatibility with modern Sphinx releases is uncertain. If your project uses a recent Sphinx version or relies on newer Sphinx plugins, this package may not work without modification.
Use it for:
- Hosting documentation for multiple released versions of a library or framework on a single domain with version-switching UI.
- Automating doc builds for each git tag or branch to avoid manual version management across releases.
- Building self-hosted versioned docs when you cannot or do not want to use external services.
- Maintaining stable, development, and legacy documentation versions in parallel from a single repository.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Sphinx extension that builds and serves multiple versions of documentation from a single repository, enabling self-hosted versioned docs without heavy customization of Sphinx internals.
No, unless you are locked into an old Sphinx version or have no alternative. The package is abandoned (last release 2020-08-12) with no maintenance, bug fixes, or compatibility updates. Modern alternatives or other versioning solutions are more reliable. If you must use it, verify compatibility with your Sphinx version first and expect to maintain it yourself.
Install
sphinx-multiversion on PyPI
pip
pip install sphinx-multiversionuv
uv add sphinx-multiversionpoetry
poetry add sphinx-multiversionInstalling sphinx-multiversion
Before you install
Low install friction with a single runtime dependency on sphinx. However, the package is abandoned—last release was 2020-08-12, over 2193 days ago—so expect no maintenance, bug fixes, or compatibility updates.
License in practice
BSD license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects, provided you retain the license notice.
Quickstart
pip install sphinx-multiversion
In conf.py, add to extensions:
extensions = ['sphinx_multiversion']
Then run: sphinx-multiversion -b html docs/ build/html/
Requires sphinx as a runtime dependency; compatibility with Sphinx versions released after 2020-08-12 is uncertain due to abandonment.
Verify before relying
- Whether this package remains compatible with current Sphinx versions.
- Whether the extension's approach to avoiding Sphinx internals has held up as Sphinx has evolved.
- Real-world success stories or known limitations with modern documentation workflows.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — sphinx |
| Maintenance | abandoned — 2,193 days since the last release |
| First released | |
| Downloads | 166,219/month — #10,503 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sphinx_multiversion-0.2.4-py2.py3-none-any.whl; sphinx_multiversion-0.2.4-py3-none-any.whl
Tags
More Sphinx packages
Parses Python docstrings in ReST, Google,…
permissive · top 1,000 on PyPI
SphinxSphinx generates professional documentation…
permissive · top 1,000 on PyPI
sphinxcontrib-serializinghtmlA Sphinx extension that outputs documentation…
permissive · top 1,000 on PyPI
alabasterAlabaster is a clean, responsive Sphinx theme…
permissive · top 1,000 on PyPI
sphinxcontrib-htmlhelpA Sphinx extension that generates HTML help…
permissive · top 1,000 on PyPI
sphinxcontrib-qthelpA Sphinx extension that converts documentation…
permissive · top 1,000 on PyPI
readthedocs-sphinx-extProvides Sphinx extensions that integrate…
permissive · top 15,000 on PyPI
mikemike deploys multiple versions of…
permissive · top 5,000 on PyPI
sphinxcontrib-log-cabinetA Sphinx extension that organizes changelog…
permissive · top 15,000 on PyPI
readthedocs-sphinx-searchA Sphinx extension that adds real-time…
permissive · top 15,000 on PyPI
sphinx-clickSphinx-click is a Sphinx extension that…
permissive · top 15,000 on PyPI
antsibull-docsBuilds and generates Ansible documentation from…
copyleft · top 15,000 on PyPI
sphinx-commentsIntegrates third-party commenting and…
permissive · top 15,000 on PyPI
sphinx-faviconA Sphinx extension that injects custom favicon…
permissive · top 15,000 on PyPI
sphinx-data-viewerAdds an interactive data viewer to Sphinx…
permissive · top 15,000 on PyPI
python-docs-themeA Sphinx theme that applies the visual style…
permissive · top 15,000 on PyPI