Skip to content

Commit 37745f2

Browse files
committed
DOC, MAINT: Turn on version warning banner provided by PyData Sphinx Theme
After numpy/doc#25, this will show a warning banner for past and unreleased versions of the docs. See https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/announcements.html#version-warning-banners The warning banner can be dismissed by the user.
1 parent efcf2a2 commit 37745f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ def setup(app):
266266
"version_match": switcher_version,
267267
"json_url": "https://numpy.org/doc/_static/versions.json",
268268
},
269+
"show_version_warning_banner": True,
269270
}
270271

271272
html_title = "%s v%s Manual" % (project, version)

0 commit comments

Comments
 (0)