8000 DOC: version switcher update on release · matplotlib/matplotlib@90a2302 · GitHub
[go: up one dir, main page]

Skip to content

Commit 90a2302

Browse files
committed
DOC: version switcher update on release
1 parent 6db18d5 commit 90a2302

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/devel/release_guide.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ which will copy the built docs over. If this is a final release, link the
451451
rm stable
452452
ln -s 3.7.0 stable
453453

454-
You will also need to edit :file:`sitemap.xml` and :file:`versions.html` to include
454+
You will also need to edit :file:`sitemap.xml` to include
455455
the newly released version. Now commit and push everything to GitHub ::
456456

457457
git add *
@@ -465,6 +465,14 @@ If you have access, clear the CloudFlare caches.
465465
It typically takes about 5-10 minutes for the website to process the push and update the
466466
live web page (remember to clear your browser cache).
467467

468+
Update the version switcher
469+
---------------------------
470+
The version switcher is populated from https://matplotlib.org/devdocs/_static/switcher.json.
471+
472+
Since it's always taken from devdocs, update the file :file:`doc/_static/switcher.json`
473+
on the main branch through a regular PR. Once that PR is merged, the devdocs site
474+
will be updated automatically.
475+
468476
.. _release_merge_up:
469477

470478
Merge up changes to main

0 commit comments

Comments
 (0)
0