Sphinx-multiversion-contrib

Latest version: v0.3.2

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.2.4

--------------------------

* Skip file existence check for the :file:`.` directory. This fixes an issue if the configuration or source directory is in the local path but reported as missing, because ``git cat-file -e`` always reports an error in that case. (`12 <issue12_>`_)
* Fix file existence check not working on Windows. (`18 <issue18_>`_, `19 <issue19_>`_)
* Fix bug in the sphinx extension which tried to load the `conf.py` from the source directory instead of the conf directory. This could lead to problems when the two directories differ. (`11 <issue11_>`_, `13 <issue13_>`_)
* Fix wrong import in :file:`__main__.py` that prevented invocation using ``python -m sphinx_multiversion``. (`23 <issue23_>`_)
* Fix failure to find refs if ``sphinx-multiversion`` was not invoked from the root of the git repository. (`24 <issue24_>`_, `25 <issue25_>`_, `26 <issue26_>`_)
* Resolve issues with Sphinx extensions and Python modules not being reloaded when parsing the different :file:`conf.py` files. Now, each config file is parsed in it's own process, and the build is performed using the ``subprocess`` module instead of doing it all from the context of the main module. Python's `interpreter flags <pythonflags_>`_ (e.g. isolated mode) are passed through to the subprocesses. (`22 <issue22_>`_, `28 <issue28_>`_, `30 <issue30_>`_, `36 <issue36_>`_)
* Rewrite the path handling of the Sphinx extension to handle branch names containing a forward slash properly on Windows and add unittests and Windows CI builds to make sure it doesn't break on future updates. (`31 <issue31_>`_, `35 <issue35_>`_)

0.2.3

--------------------------

* Fixed return codes of main() function and exit with non-zero status if no matching refs were found.
* Added some logging calls to the git module.
* Fixed bug where local branch was used to check the existence of files on remote branches.

0.2.2

--------------------------

* Added additional checks to determine if a branch or tag contains both the Sphinx source directory and the :file:`conf.py` file. If that's not the case, that branch or tag is skipped automatically and not copied to the temporary directory. (`9 <issue9_>`_)

0.2.1

--------------------------

* Fixed handling of absolute output paths in `vpathto` and ensure that all generated paths are relative.

0.2.0

--------------------------

* Added a way to override config variables using placeholders that expand to each version's actual value (`4 <issue4_>`_, `7 <issue7_>`_).

0.1.1

--------------------------

* Fixed version number in documentation
* Fixed issue that caused the wrong configuration directory being used when the ``-c`` argument was not specified on the command line

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.