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

Use ReadTheDocs' version warning banners #67

Closed stevenday closed 2 years ago

stevenday commented 4 years ago

I've recently renamed all the released branches in the standard repo, so that we can take advantage of ReadTheDocs' ability to inject warning banners for viewers of older versions.

This works fine for 0.0.1->0.0.3 which use a standard theme, but doesn't work in 0.1.0 or 0.2.0 which use our custom theme. We need to figure out why (have we lost/overridden a bit of the default layout?). Once they appear, I think we'll also have to style them to fit into the theme better.

In addition, we should remove the warnings we manually added to the 0.0.x versions, as they're now duplicated.

kd-ods commented 2 years ago

This was also reported here: https://github.com/openownership/data-standard/issues/76. That issue has been closed as a duplicate.