From 90a2302614358d6798ed87e9d41bd59a9e3c82c4 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 13 May 2025 22:40:50 +0200 Subject: [PATCH] DOC: version switcher update on release --- doc/devel/release_guide.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/devel/release_guide.rst b/doc/devel/release_guide.rst index 0e0ebb98fd1d..0ca3c06084d9 100644 --- a/doc/devel/release_guide.rst +++ b/doc/devel/release_guide.rst @@ -451,7 +451,7 @@ which will copy the built docs over. If this is a final release, link the rm stable ln -s 3.7.0 stable -You will also need to edit :file:`sitemap.xml` and :file:`versions.html` to include +You will also need to edit :file:`sitemap.xml` to include the newly released version. Now commit and push everything to GitHub :: git add * @@ -465,6 +465,14 @@ If you have access, clear the CloudFlare caches. It typically takes about 5-10 minutes for the website to process the push and update the live web page (remember to clear your browser cache). +Update the version switcher +--------------------------- +The version switcher is populated from https://matplotlib.org/devdocs/_static/switcher.json. + +Since it's always taken from devdocs, update the file :file:`doc/_static/switcher.json` +on the main branch through a regular PR. Once that PR is merged, the devdocs site +will be updated automatically. + .. _release_merge_up: Merge up changes to main