Skip to content

Commit 9d7fbf7

Browse files
committed
fix(docs): cleanup sphinx html template path warning
Resolves "WARNING: Calling get_html_theme_path is deprecated. If you are calling it to define html_theme_path, you are safe to remove that code."
1 parent a334300 commit 9d7fbf7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,10 @@
8484
try:
8585
import sphinx_rtd_theme
8686
html_theme = 'sphinx_rtd_theme'
87-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path(), '.']
8887
except:
8988
html_theme = 'default'
90-
html_theme_path = ['.']
9189
else:
92-
html_theme_path = ['.']
90+
html_theme = 'sphinx_rtd_theme'
9391

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

0 commit comments

Comments
 (0)