Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: version switcher update on release #30048

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

Merged
merged 1 commit into from
May 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion doc/devel/release_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand All @@ -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
Expand Down