File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -484,7 +484,13 @@ def js_tag_with_cache_busting(js):
484484 # the server, but will be used as part of the key for caching by browsers
485485 # so when we do a new meso release the switcher will update "promptly" on
486486 # the stable and devdocs.
487- "json_url" : f"https://matplotlib.org/devdocs/_static/switcher.json?{ SHA } " ,
487+ "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+ ),
488494 "version_match" : (
489495 # The start version to show. This must be in switcher.json.
490496 # We either go to 'stable' or to 'devdocs'
You can’t perform that action at this time.
0 commit comments