History¶
0.2.0 (2020-03-14)¶
Added:
--versionsoption for customizing which folders appear in the versions menu and in which order.Added:
--labeloption for customizing the labels appearing the versions menuAdded:
--warningoption for customizing on which folders specific warnings are displayedAdded:
--latestoption for configuring which folder is the “latest stable release”Added: Write a script
versions.pyto the root of thegh-pagesbranch (--write-versions-pyoption)Changed: unreleased and pre-released versions now show different warnings by default
Changed:
index.htmltemplate is now rendered with fullversion_dataChanged: 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.jsonRemoved:
--default-branchoption. This is replaced by the new--latestoption and enhanced template rendering of theindex.htmlRemoved:
--suffix-unreleasedoption. This can now be achieved via the--labeloption
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