skillfed

sphinx-multiversion

Add support for multiple versions to sphinx

sphinx-multiversion v0.2.4 166.2K downloads/30d#10,503 on PyPI
Permissive license BSD Abandoned released

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-multiversion

uv

uv add sphinx-multiversion

poetry

poetry add sphinx-multiversion

Installing 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

License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

sphinx versioned documentationmulti-version sphinx docssphinx multiple versionsself-hosted versioned docssphinx version managementbuild versioned documentationsphinx doc versioning
abandonedsphinx-extensionversioning

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

readthedocs-sphinx-ext

Provides Sphinx extensions that integrate…

permissive · top 15,000 on PyPI

mike

mike deploys multiple versions of…

permissive · top 5,000 on PyPI

sphinxcontrib-log-cabinet

A Sphinx extension that organizes changelog…

permissive · top 15,000 on PyPI

readthedocs-sphinx-search

A Sphinx extension that adds real-time…

permissive · top 15,000 on PyPI

sphinx-click

Sphinx-click is a Sphinx extension that…

permissive · top 15,000 on PyPI

antsibull-docs

Builds and generates Ansible documentation from…

copyleft · top 15,000 on PyPI

sphinx-comments

Integrates third-party commenting and…

permissive · top 15,000 on PyPI

sphinx-favicon

A Sphinx extension that injects custom favicon…

permissive · top 15,000 on PyPI

sphinx-data-viewer

Adds an interactive data viewer to Sphinx…

permissive · top 15,000 on PyPI

python-docs-theme

A Sphinx theme that applies the visual style…

permissive · top 15,000 on PyPI