mkdocs-versioning
mkdocs-versioning is a plugin for mkdocs, a tool designed to create static websites usually for generating project documentation.
mkdocs-versioning extends mkdocs by differentiating between different versions of documentation you may build. For example, a newer versions of some software may work differently from an older version and it is important that users of an older version of the software reads the appropriate version of the documentation in order to ensure that the user has the correct information and uses the software appropriately.
Setup
Install the plugin using pip:
pip install mkdocs-versioning
Next, add the following lines to your mkdocs.yml:
plugins:
- search
- mkdocs-versioning:
version: 0.3.0
If you have no
pluginsentry in your config file yet, you'll likely also want to add thesearchplugin. MkDocs enables it by default if there is nopluginsentry set.
Usage
Instructions on how to use the plugin is available at https://zayd62.github.io/mkdocs-versioning/
Contributing
Please note that mkdocs-versioning is currently in Beta and there may be missing feature/documentation so if you could help out by either:
- finding and reporting bugs
- contributing by checking out the issues
Troubleshooting
Combined use of awesome-pages and mkdocs-versioning
In case of using awesome-pages the order of registration within the plugins is important. The following error may occur:
Traceback (most recent call last):
[...]
File "/path/to/mkversion/entry.py", line 47, on_config
for count, i in enumerate(nav):
TypeError: 'NoneType' object is not iterable
You need to make sure, that the awesome-pages plugin is register after mkdocs-versioning:
plugins:
- mkdocs-versioning:
version: "1.0"
- awesome-pages
Metadata
Release files for mkdocs-versioning 0.4.0
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 |
|---|---|---|---|---|
| mkdocs-versioning-0.4.0.tar.gz | 10.2 kB | Without provenance | Details for mkdocs-versioning-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mkdocs_versioning-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for mkdocs_versioning-0.4.0-py3-none-any.whl |
Total release size: 22.9 kB
Release files / mkdocs-versioning-0.4.0.tar.gz
| Download URL | mkdocs-versioning-0.4.0.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eb0053ae96ed8d897499165a66ef630dba4b8c8c0817a534e23967664a3fd63
|
|
BLAKE2b-256 checksum How to use checksums |
4eccdcf46d17aac81b557fc66b8f62257079bb063917105e2504a04e1b000f32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / mkdocs_versioning-0.4.0-py3-none-any.whl
| Download URL | mkdocs_versioning-0.4.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6da04a2e7483b1800db3ff35bce86ed64b273ce886bcdf857aec46bda1f992d9
|
|
BLAKE2b-256 checksum How to use checksums |
df24aab3fef9d135df29de6a20d042a42f00378b71ce2015ebc19acbde649ef0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Security for mkdocs-versioning 0.4.0
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.