Skip to content

Commit

Permalink
Update version switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jun 10, 2024
1 parent f6182de commit 18b8c5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions py-polars/docs/source/_static/version_switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
{
"name": "dev",
"version": "dev",
"url": "https://docs.pola.rs/docs/python/dev/"
"url": "https://docs.pola.rs/api/python/dev/"
},
{
"name": "0.20 (stable)",
"version": "0.20",
"url": "https://docs.pola.rs/py-polars/html/",
"url": "https://docs.pola.rs/api/python/stable/",
"preferred": true
},
{
"name": "0.19",
"version": "0.19",
"url": "https://docs.pola.rs/docs/python/version/0.19/"
"url": "https://docs.pola.rs/api/python/version/0.19/"
},
{
"name": "0.18",
"version": "0.18",
"url": "https://docs.pola.rs/docs/python/version/0.18/"
"url": "https://docs.pola.rs/api/python/version/0.18/"
}
]
2 changes: 1 addition & 1 deletion py-polars/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"image_dark": f"{static_assets_root}/logos/polars-logo-dimmed-medium.png",
},
"switcher": {
"json_url": f"{web_root}/docs/python/dev/_static/version_switcher.json",
"json_url": f"{web_root}/api/python/dev/_static/version_switcher.json",
"version_match": switcher_version,
},
"show_version_warning_banner": False,
Expand Down

0 comments on commit 18b8c5f

Please sign in to comment.