Skip to content

Commit

Permalink
Merge pull request galaxyproject#17898 from nsoranzo/release_24.0_sph…
Browse files Browse the repository at this point in the history
…inx_rtd_theme_conf_fixes

[24.0] Fix search and version menu in docs
  • Loading branch information
martenson authored Apr 4, 2024
2 parents 4827ff8 + ed5b002 commit e970ae5
Showing 1 changed file with 3 additions and 4 deletions.
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

0 comments on commit e970ae5

Please sign in to comment.