From d0b6b2721135c0515ddf0c94bbe7606c614234a2 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Mon, 19 Sep 2022 00:07:25 +0200 Subject: [PATCH 1/3] Revert "Backport PR #23935 on branch v3.6.x (DOC: fix versions is doc switcher)" --- doc/_static/switcher.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/_static/switcher.json b/doc/_static/switcher.json index 6608ba6390c5..ea5cf34300f5 100644 --- a/doc/_static/switcher.json +++ b/doc/_static/switcher.json @@ -14,11 +14,6 @@ "version": "3.5.3", "url": "https://matplotlib.org/3.5.3" }, - { - "name": "3.5", - "version": "3.5.3", - "url": "https://matplotlib.org/3.5.3/" - }, { "name": "3.4", "version": "3.4.3", From e90efb184941d93b10ece4688156ffb3deae6856 Mon Sep 17 00:00:00 2001 From: melissawm Date: Thu, 8 Sep 2022 21:51:45 +0000 Subject: [PATCH 2/3] Fix version switcher links --- doc/_static/switcher.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/_static/switcher.json b/doc/_static/switcher.json index ea5cf34300f5..8109b1d5be2b 100644 --- a/doc/_static/switcher.json +++ b/doc/_static/switcher.json @@ -2,31 +2,31 @@ { "name": "3.6 (stable)", "version": "stable", - "url": "https://matplotlib.org/stable" + "url": "https://matplotlib.org/stable/" }, { "name": "3.7 (dev)", "version": "devdocs", - "url": "https://matplotlib.org/devdocs" + "url": "https://matplotlib.org/devdocs/" }, { "name": "3.5", "version": "3.5.3", - "url": "https://matplotlib.org/3.5.3" + "url": "https://matplotlib.org/3.5.3/" }, { "name": "3.4", "version": "3.4.3", - "url": "https://matplotlib.org/3.4.3" + "url": "https://matplotlib.org/3.4.3/" }, { "name": "3.3", "version": "3.3.4", - "url": "https://matplotlib.org/3.3.4" + "url": "https://matplotlib.org/3.3.4/" }, { "name": "2.2", "version": "2.2.4", - "url": "https://matplotlib.org/2.2.4" + "url": "https://matplotlib.org/2.2.4/" } ] From 6578d9aa8350b251e6386913c819c07438f71b02 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Mon, 19 Sep 2022 07:14:53 -0700 Subject: [PATCH 3/3] Merge pull request #23949 from timhoffm/version-switcher-dev DOC: Display "dev" instead of "devdocs" in the version switcher (cherry picked from commit b5fa31067e8e67e308b373285a68c44e9ca5efa8) --- doc/_static/switcher.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_static/switcher.json b/doc/_static/switcher.json index 8109b1d5be2b..c72cbac2b27a 100644 --- a/doc/_static/switcher.json +++ b/doc/_static/switcher.json @@ -6,7 +6,7 @@ }, { "name": "3.7 (dev)", - "version": "devdocs", + "version": "dev", "url": "https://matplotlib.org/devdocs/" }, {