openownership / data-standard-sphinx-theme

Documentation theme for the Beneficial Ownership Data Standard.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Enable version warning #74

Closed rhiaro closed 2 years ago

rhiaro commented 2 years ago

Readthedocs automatic 'not latest version' warning is only injected in a div with role="main".

This will fix #67. Note that the warning only shows up on branches which are named with semantic versioning (eg. 0.1.0, not dev-add-widget) but I think that will be fine for the production docs as dev branches shouldn't show up in the flyout menu, and are likely to be ahead of latest rather than behind.

Screenshot at 2022-01-06 13-16-28