Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cherrypick version switcher to 2.36.1 #50447

Open
wants to merge 2 commits into
base: releases/2.36.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,6 @@ table.autosummary tr > td:first-child > p > a > code > span {
}

/* Hide the RTD version switcher since we are using PyData theme one */
#rtd-footer-container {
display: none;
readthedocs-flyout {
display: none !important;
}
13 changes: 6 additions & 7 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,16 +304,13 @@ def render_svg_logo(path):
},
"navbar_start": ["navbar-ray-logo"],
"navbar_end": [
"theme-switcher",
"version-switcher",
"navbar-icon-links",
"navbar-anyscale",
],
"navbar_center": ["navbar-links"],
"navbar_align": "left",
"navbar_persistent": [
"search-button-field",
"theme-switcher",
],
"secondary_sidebar_items": [
"page-toc",
"edit-on-github",
Expand All @@ -339,9 +336,11 @@ def render_svg_logo(path):

html_sidebars = {
"**": [
"main-sidebar-readthedocs"
if os.getenv("READTHEDOCS") == "True"
else "main-sidebar"
(
"main-sidebar-readthedocs"
if os.getenv("READTHEDOCS") == "True"
else "main-sidebar"
)
],
"ray-overview/examples": [],
}
Expand Down
2 changes: 1 addition & 1 deletion doc/source/custom_directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ def generate_versions_json():
for version in git_versions:
version_json_data.append(
{
"version": f"releases/{version}",
"version": f"releases-{version}",
"url": generate_version_url(f"releases-{version}"),
}
)
Expand Down