Skip to content

Commit 2cc40fb

Browse files
authored
Merge pull request #168 from adafruit/sphinx-warning-html-template-path
fix(docs): cleanup sphinx html template path warning
2 parents a334300 + e1506ee commit 2cc40fb

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
workflow_dispatch:
78

89
jobs:
910

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)