Skip to content

Commit

Permalink
[Docs] disable version warning banner as it is bugged
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneT2000 committed Aug 22, 2024
1 parent 2e0a33b commit 6f6f20a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@
html_favicon = "_static/favicon.svg"


json_url = "https://maniskill.readthedocs.io/en/latest/_static/version_switcher.json"
version_match = "latest" #os.environ.get("READTHEDOCS_VERSION")
release = __version__

# json_url = "https://maniskill.readthedocs.io/en/latest/_static/version_switcher.json"
json_url = "_static/version_switcher.json"
version_match = os.environ.get("READTHEDOCS_VERSION")
if version_match is None:
version_match = "v" + __version__
html_theme_options = {
"use_edit_page_button": True,
"icon_links": [
Expand All @@ -78,7 +79,7 @@
"image_dark": "_static/logo_white.svg",
},
"navbar_center": ["version-switcher", "navbar-nav"],
"show_version_warning_banner": True,
"show_version_warning_banner": False,
"switcher": {
"json_url": json_url,
"version_match": version_match,
Expand Down

0 comments on commit 6f6f20a

Please sign in to comment.