8000 Merge pull request #22258 from jklymak/doc-fix-version-switcher · matplotlib/matplotlib@62978a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 62978a2

Browse files
authored
Merge pull request #22258 from jklymak/doc-fix-version-switcher
DOC: fix version switcher
2 parents d4add14 + 2d58163 commit 62978a2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,9 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
324324
"collapse_navigation": not is_release_build,
325325
"show_prev_next": False,
326326
"switcher": {
327-
"json_url": "https://matplotlib.org/en/devdocs/_static/switcher.json",
328-
"url_template": "https://matplotlib.org/{version}/"
327+
"json_url": "https://matplotlib.org/devdocs/_static/switcher.json",
328+
"url_template": "https://matplotlib.org/{version}/",
329+
"version_match": version,
329330
},
330331
"navbar_end": ["version-switcher", "mpl_icon_links"]
331332
}

0 commit comments

Comments
 (0)
0