Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dd3e322

Browse filesBrowse files
authored
Merge pull request #30048 from timhoffm/doc-version-switcher
DOC: version switcher update on release
2 parents 03e94ff + 90a2302 commit dd3e322
Copy full SHA for dd3e322

File tree

1 file changed

+9
-1
lines changed
Filter options

1 file changed

+9
-1
lines changed

‎doc/devel/release_guide.rst

Copy file name to clipboardExpand all lines: doc/devel/release_guide.rst
+9-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.