Skip to content

Commit 2aee285

Browse files
committed
Set RTD options
1 parent edfc46d commit 2aee285

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,13 @@
9999
# a list of builtin themes.
100100
html_theme = "sphinx_rtd_theme"
101101

102+
# https://docs.readthedocs.com/platform/stable/intro/sphinx.html#set-the-canonical-url
103+
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/")
104+
102105
# Theme options are theme-specific and customize the look and feel of a theme
103106
# further. For a list of options available for each theme, see the
104107
# documentation.
105-
# html_theme_options = {}
108+
html_theme_options = {"flyout_display": "attached"}
106109

107110
# Add any paths that contain custom themes here, relative to this directory.
108111
# html_theme_path = []

0 commit comments

Comments
 (0)