Skip to content

Commit

Permalink
Update version switcher to set 2.0 as preferred version (#25)
Browse files Browse the repository at this point in the history
* Update version switcher to set 2.0 as stable version

Also adds a 'preferred' keyword to the stable version, which is used to select which pages receive a version warning banner from the PyData Sphinx Theme.
  • Loading branch information
melissawm authored Jun 17, 2024
1 parent adf380b commit 7d9a948
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _static/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
{
"name": "2.0 (stable)",
"version": "doc/2.0",
"url": "https://numpy.org/doc/stable/"
"url": "https://numpy.org/doc/stable/",
"preferred": true
},
{
"name": "1.26",
Expand Down

0 comments on commit 7d9a948

Please sign in to comment.