Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e93c8b4 commit 5219372Copy full SHA for 5219372
doc/conf.py
@@ -484,7 +484,11 @@ def js_tag_with_cache_busting(js):
484
# the server, but will be used as part of the key for caching by browsers
485
# so when we do a new minor release the switcher will update "promptly" on
486
# the stable and devdocs.
487
- "json_url": f"https://matplotlib.org/devdocs/_static/switcher.json?{SHA}",
+ "json_url": (
488
+ f"https://matplotlib.org/devdocs/_static/switcher.json?{SHA}"
489
+ if is_release_build
490
+ else "_static/switcher.json"
491
+ ),
492
"version_match": (
493
# The start version to show. This must be in switcher.json.
494
# We either go to 'stable' or to 'devdocs'
0 commit comments