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

[24.0] Fix search and version menu in docs #17898

Merged
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
7 changes: 3 additions & 4 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
import os
import sys

import sphinx_rtd_theme

# Set GALAXY_DOCS_SKIP_VIEW_CODE=1 to skip embedding highlighted source
# code into docs.
SKIP_VIEW_CODE = os.environ.get("GALAXY_DOCS_SKIP_VIEW_CODE", False) == "1"
Expand Down Expand Up @@ -161,11 +159,10 @@ def setup(app):
"collapse_navigation": False,
"display_version": True,
"navigation_depth": 2,
"canonical_url": "https://docs.galaxyproject.org/en/master/",
}

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# html_theme_path = []

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand All @@ -174,6 +171,8 @@ def setup(app):
# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None

html_baseurl = "https://docs.galaxyproject.org/en/master/"

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
# html_logo = None
Expand Down
Loading