napari / napari-sphinx-theme

https://napari.org/napari-sphinx-theme
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

Add version warning banner functionality #132

Closed melissawm closed 10 months ago

melissawm commented 1 year ago

Adds a warning banner to be shown on non-stable versions of the docs. Inspired by pydata/pydata-sphinx-theme#780

This is the first part of 3 pull requests, the following ones should be to napari/docs and napari/napari.github.io.

This change was discussed at napari/docs#82 and on zulip: https://napari.zulipchat.com/#narrow/stream/212875-general/topic/Version.20warning.20banner.20for.20documentation/near/353976623

jni commented 1 year ago

@melissawm I don't at all mind this getting merged, but in general I'd like to spend our effort on #113...