Skip to content

[Doc]: Version switcher of the 3.6.0 page is not updated #23920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
timhoffm opened this issue Sep 17, 2022 · 1 comment · Fixed by #23935
Closed

[Doc]: Version switcher of the 3.6.0 page is not updated #23920

timhoffm opened this issue Sep 17, 2022 · 1 comment · Fixed by #23935

Comments

@timhoffm
Copy link
Member

Documentation Link

https://matplotlib.org/stable/

Problem

3.5 is still indicated as stable, 3.6 as dev

grafik

Suggested improvement

No response

@tacaswell
Copy link
Member

diff --git a/doc/_static/switcher.json b/doc/_static/switcher.json
index 512f12a212..8109b1d5be 100644
--- a/doc/_static/switcher.json
+++ b/doc/_static/switcher.json
@@ -1,14 +1,19 @@
 [
     {
-        "name": "3.5 (stable)",
+        "name": "3.6 (stable)",
         "version": "stable",
         "url": "https://matplotlib.org/stable/"
     },
     {
-        "name": "3.6 (dev)",
+        "name": "3.7 (dev)",
         "version": "devdocs",
         "url": "https://matplotlib.org/devdocs/"
     },
+    {
+        "name": "3.5",
+        "version": "3.5.3",
+        "url": "https://matplotlib.org/3.5.3/"
+    },
     {
         "name": "3.4",
         "version": "3.4.3",
diff --git a/doc/devel/release_guide.rst b/doc/devel/release_guide.rst
index 3f49631d00..0d31781a17 100644
--- a/doc/devel/release_guide.rst
+++ b/doc/devel/release_guide.rst
@@ -290,6 +290,14 @@ to :file:`tools/cache_zenodo_svg.py`, and the changes to
   git commit -a
   git push DANGER v2.0.0-doc:v2.0.0-doc
 
+Additionally, for a minor release the :file:`doc/_static/switcher.json` file
+will need to be updated to correctly identify the new stable and development
+release numbers ::
+
+  $EDITOR doc/_static/switcher.json
+  git commit -a
+  git push DANGER v2.0.0-doc:v2.0.0-doc
+
 .. _release_bld_bin:
 

but currently on a network that is blocking ssh (so my normal push setup does not work) ... I'm going to see if I can get this to work via the web editor, but if someone feels like scooping me on the PR that is 👍🏻 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants