Skip to content

Commit 7f2bced

Browse files
authored
Fix Automate Doc Build - Update conf.py (#242)
1 parent ff4816a commit 7f2bced

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/source/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#
2020
import os
2121
import sys
22+
import sphinx_rtd_theme
2223

2324
_HERE = os.path.dirname(__file__)
2425
_DOCS_DIR = os.path.abspath(os.path.join(_HERE, ".."))
@@ -126,6 +127,9 @@
126127
# a list of builtin themes.
127128
#
128129
html_theme = "sphinx_rtd_theme"
130+
131+
# Add theme path explicitly
132+
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
129133
# html_context = {"css_files": ["_static/overrides.css"]}
130134
# Theme options are theme-specific and customize the look and feel of a theme
131135
# further. For a list of options available for each theme, see the
@@ -159,7 +163,7 @@
159163
# Add any paths that contain custom static files (such as style sheets) here,
160164
# relative to this directory. They are copied after the builtin static files,
161165
# so a file named "default.css" will overwrite the builtin "default.css".
162-
html_static_path = ["static"]
166+
html_static_path = ["_static"]
163167

164168
# Add any extra paths that contain custom files (such as robots.txt or
165169
# .htaccess) here, relative to this directory. These files are copied

0 commit comments

Comments
 (0)