Changelog
1.4 (2024-08-17)
Deprecations and Removals
The theme specific versions selector menu/badge is deprecated in favour of consistent experience across themes. Now, every theme will have the selector menu either in its sidebar or in its footer(if the theme supports it). (#47)
The CLI option
--branchesis removed in favour of--branchand-b. (#67)
Features
Added a feature to either have the vanilla versions selector menu or have it as a floating badge via using either
--floating-badgeor--badgeoption available through command-line. (#47)Modified the
--branch/-bto accomodate branch selection/exclusion. Now, any branch can be selected by mentioning it in--branch/--band any can be excluded by adding a-infront of the branch/tag name in the cli argument. Like--branch main,-v1.0,v2.0will selectmain,v2.0and will excludev1.0. (#69)Adds windows compatibility. (#76)
Added regex support for selecting and excluding branches and tags. Now, any branch can be selected by mentioning it in
--branch/--band any can be excluded by adding a-infront of the branch/tag name in the argument.Suppose there are 3 branches and tags:
main, v1.0, v2.0. The argument--branch main,-v*will selectmainand will excludev1.0andv2.0. Similarly, the argument--branch -main,v*will selectv1.0andv2.0and will excludemain.Note: selecting a branch takes presidence over excluding one. (#80)
1.3.2 (2024-03-08)
Bug Fixes
Fixed branch not found bug when selecting branches using -b in CLI.
1.3.1 (2024-02-28)
Bug Fixes
Fixed conda-forge builds by setting
git_python_refreshenviron toquite. (#62)
1.3 (2024-02-28)
Features
Adds the capability to build detached heads if either the head is already detached or that particular commit is specified via –branches arg, provided that –force is supplied. Additionally, if the main-branch is not specified via –main-branch then the currently checkout out branch/tag will be considered as the main branch for generating the top-level index.html. (#45)
Added a searchbar and project url field for sphinx-rtd-theme and bootstrap-astropy. The project url can be set using sv_project_url option in conf.py. (#48)
Bug Fixes
Added/Improved Documentation
1.2 (2024-02-01)
Deprecations and Removals
Removed
--list-branchesand-larg in cli-app. (#39)
Features
Added sphinx_compatibility kwarg to help generate documentations for versions using deprecated function. Currently, monkey patching app.add_stylesheet -> app.add_css_file. (#33)
Generates a top-level index page which redirect to the index page of the main branch. By default, the main branch is “main” / can be changed using the –main-branch kwarg. (#34)
Bug Fixes
Hotfix for #17. It solves by resetting the intersphinx mapping var for the next execution. Forces
--no-prebuild. (#25)Fixed version menu flyout script in sphinx_rtd_theme. Not entirely sure why but somehow sphinx_rtd_theme doesn’t require the flyout script anymore. (#27)
Fixed a bug where versions menu was working from the top-level however, it used fail when accessing other versions from deep links. (#37)
1.1 (2023-05-19)
Backwards Incompatible Changes
Migrating call command from
sphinx-versioned buildto justsphinx-versionedfor simplicity. (#21)
Features
Added
--list-branchesand-larg in cli-app. (#22)
1.0 (2023-05-03)
Backwards Incompatible Changes
Features
Added support for
sphinx-astropytheme. (#10)Pre-builing all tags and branches to list only succesful builds in the versions menu. It will double the build time; however, it can be avoided by disabling the pre-building using
--no-prebuildarg or by specifically selecting the tag/branch names via--branchesargument, note that it takes astrargument of the form “main, master”. (#12)
Bug Fixes
Added/Improved Documentation
Trivial/Internal Changes
Added worflows to maintain and verify codestyle using
black. (#2)Added CI infrastructure to test the package against an empty package created using sphinx-quickstart. (#4)
Added tests to verify the package against
sphinx_rtd_theme,astropy_sphinx_themeandalabasterthemes. (#13)Migrating to
towncrierfor changelog management. (#19)