We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f9eda7 commit bc2c872Copy full SHA for bc2c872
1 file changed
doc/conf.py
@@ -484,7 +484,13 @@ 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 meso 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
+ "https://output.circle-artifacts.com/output/job/"
489
+ f"{os.environ['CIRCLE_WORKFLOW_JOB_ID']}/artifacts/"
490
+ f"{os.environ['CIRCLE_NODE_INDEX']}"
491
+ "/doc/build/html/_static/switcher.json" if CIRCLECI else
492
+ f"https://matplotlib.org/devdocs/_static/switcher.json?{SHA}"
493
+ ),
494
"version_match": (
495
# The start version to show. This must be in switcher.json.
496
# We either go to 'stable' or to 'devdocs'
0 commit comments