Skip to content

Commit

Permalink
docs: improve version swithcer (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau committed Sep 17, 2023
2 parents 8ccdd76 + 887aaf0 commit 2e6d360
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
28 changes: 22 additions & 6 deletions docs/source/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,29 @@
"url": "https://sepal-ui.readthedocs.io/en/latest/"
},
{
"name": "2.10.1 (stable)",
"version": "v_2.10.1",
"url": "https://sepal-ui.readthedocs.io/en/v_2.10.1/"
"name": "2.16.4 (stable)",
"version": "v_2.16.4",
"url": "https://sepal-ui.readthedocs.io/en/stable/",
"preferred": true
},
{
"name": "2.9.4",
"version": "v_2.9.4",
"url": "https://sepal-ui.readthedocs.io/en/v_2.9.4/"
"name": "2.15.2",
"version": "v_2.15.2",
"url": "https://sepal-ui.readthedocs.io/en/v_2.15.2/"
},
{
"name": "2.14.2",
"version": "v_2.14.2",
"url": "https://sepal-ui.readthedocs.io/en/v_2.14.2/"
},
{
"name": "2.13.0",
"version": "v_2.13.0",
"url": "https://sepal-ui.readthedocs.io/en/v_2.13.0/"
},
{
"name": "2.12.0",
"version": "v_2.12.0",
"url": "https://sepal-ui.readthedocs.io/en/v_2.12.0/"
}
]
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"icon": "fa-brands fa-python",
},
],
"show_version_warning_banner": True,
}
html_context = {
"github_user": "12rambau",
Expand Down

0 comments on commit 2e6d360

Please sign in to comment.