Sphinx extension and command to add a versions menu to Doctr-deployed documentation
Project description
History
0.2.0-rc1 (2020-03-13)
Added: --versions option for customizing which folders appear in the versions menu and in which order.
Added: --label option for customizing the labels appearing the versions menu
Added: --warning option for customizing on which folders specific warnings are displayed
Added: --latest option for configuring which folder is the “latest stable release”
Added: Write a script versions.py to the root of the gh-pages branch (--write-versions-py option)
Changed: unreleased and pre-released versions now show different warnings by default
Changed: index.html template is now rendered with full version_data
Changed: development/pre-release versions now longer have the “dev” suffix in the versions menu by default
Changed: The versions menu now uses the same ordering of versions as Read-the-Docs, by default: the folders are ordered from most current to least current.
Changed: internal format of versions.json
Removed: --default-branch option. This is replaced by the new --latest option and enhanced template rendering of the index.html
Removed: --suffix-unreleased option. This can now be achieved via the --label option
This is a major release that breaks backwards compatibility.
Specifically, due to the changes in versions.json, when upgrading from older versions, it may be necessary to replace doctr-versions-menu.js files in existing folders in a project’s gh-pages branch.
0.1.0 (2020-01-11)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for doctr_versions_menu-0.2.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 299856e00b51bd3f35b2fd676b9d2294c92727dd370513967485f02b9b728a3d |
|
MD5 | 711e7bb85a8dbeb9c8556e5b3c15e8fe |
|
BLAKE2b-256 | d2751b59609cbfab0a19cfc832a3feb5948717a23610b76e9cbef22993c668e7 |
Hashes for doctr_versions_menu-0.2.0rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827e2b18344357cf6e08381c918ca8db86f2d54deaa61092c3c58cebd74ed770 |
|
MD5 | 1342dfd1aacb344c85cf06e4261f9323 |
|
BLAKE2b-256 | 25676c82249a8923ad2ef929ad2697bb0d5254576c46c21109bcd3b0f7a5d6de |