We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b85e9b + f725652 commit adb97e8Copy full SHA for adb97e8
doc/conf.py
@@ -514,10 +514,9 @@ def js_tag_with_cache_busting(js):
514
f"https://matplotlib.org/devdocs/_static/switcher.json?{SHA}"
515
),
516
"version_match": (
517
- # The start version to show. This must be in switcher.json.
518
- # We either go to 'stable' or to 'devdocs'
519
- 'stable' if matplotlib.__version_info__.releaselevel == 'final'
520
- else 'devdocs')
+ matplotlib.__version__
+ if matplotlib.__version_info__.releaselevel == 'final'
+ else 'dev')
521
},
522
"navbar_end": ["theme-switcher", "version-switcher", "mpl_icon_links"],
523
"navbar_persistent": ["search-button"],
0 commit comments