sphinx-multiversion
Fork of https://github.com/Holzhaus/sphinx-multiversion for the ScyllaDB Project.
Sphinx extension for building self-hosted versioned docs.
Original documentation can be found at: https://holzhaus.github.io/sphinx-multiversion/
0.3.9
Fixed version-specific configuration extraction when conf.py uses Sphinx's
tags object (#1734).
Fork additions
Prebuild and postbuild commands
The fork introduces the possibility to run custom commands before and after building the docs with the option --pre-build and --post-build.
This could be useful to prepare the docs repository before running sphinx-build, debug the execution, or even generate versioned documentation using other builders.
For example, imagine that you want to build versioned docs written in Sphinx, but the API reference is generated with JavaDoc. This option enables the generation of both versioned docs to host them under the same folder using GitHub Pages.
Here's an example showing the directory where the build command is running:
sphinx-multiversion docs build/html --pre-build pw
You can pass multiple commands by adding extra --pre-build or --post-build options. The commands run in order, from left to right:
sphinx-multiversion docs build/html --pre-build pwd --pre-build ls --post-build "cat file.txt"
Rename latest version URL
The smv_latest_version setting determines which is the latest version.
Setting this option could be useful to show a warning when users are not reading the latest version.
You can override the latest version output directory with smv_rename_latest_version.
Here's an example:
smv_latest_version = 'x.y.z' # Use the branch/tag name
smv_rename_latest_version = 'latest' # Use the commit hash
Add support for custom tags
See https://github.com/dgarcia360/sphinx-multiversion/pull/4
Fix Git LFS error
See https://github.com/scylladb/scylla-enterprise/issues/3414
Enable paralell builds
See https://github.com/scylladb/sphinx-scylladb-theme/pull/891
Sphinx 9 compatibility
Updated Config.read() calls to use keyword-only arguments (overrides=, tags=) as required by Sphinx 9.
Version specific overrides
The following properties can be defined on a per-version basis.
rst_prologmyst_substitutions: Introduced in 0.3.3exclude_patterns: Introduced in 0.3.2
License
BSD 2-Clause License
Copyright (c) 2020, Jan Holthuis jan.holthuis@ruhr-uni-bochum.de All rights reserved.
Modifications (see "Fork Additions") 2020, David Garcia hi@davidgarcia.dev
Metadata
Release files for sphinx-multiversion-scylla 0.3.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinx_multiversion_scylla-0.3.9.tar.gz | 13.2 kB | Without provenance | Details for sphinx_multiversion_scylla-0.3.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinx_multiversion_scylla-0.3.9-py3-none-any.whl | Python 3 | none | any | Details for sphinx_multiversion_scylla-0.3.9-py3-none-any.whl |
Total release size: 25.9 kB
Release files / sphinx_multiversion_scylla-0.3.9.tar.gz
| Download URL | sphinx_multiversion_scylla-0.3.9.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f829d38f31627663e40f8b20be472a229458026d8f868c7c31420bd38265db4c
|
|
BLAKE2b-256 checksum How to use checksums |
4a528ef02f8288b6fa3eb72fa82c1bd106a6a60f5be0a5930e822bbaae0d7448
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sphinx_multiversion_scylla-0.3.9-py3-none-any.whl
| Download URL | sphinx_multiversion_scylla-0.3.9-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d7f791c19715e7d94f9333f234e131aad1d4ae9adfd64c3bffcff21cfaf3c18
|
|
BLAKE2b-256 checksum How to use checksums |
64866f23f25e6226e8fef99bfd8a04b78200be0b49788ec972beeebad61de20c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for sphinx-multiversion-scylla 0.3.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.