Skip to content

Commit b37257b

Browse files
committed
try theme path thing
1 parent e7760eb commit b37257b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@
124124
html_theme = "default"
125125
html_theme_path = ["."]
126126
else:
127+
import sphinx_rtd_theme
128+
127129
html_theme = "sphinx_rtd_theme"
128-
html_theme_path = ["."]
130+
html_theme_path = [sphinx_rtd_theme.get_html_theme_path(), "."]
129131

130132
# Add any paths that contain custom static files (such as style sheets) here,
131133
# relative to this directory. They are copied after the builtin static files,

0 commit comments

Comments
 (0)