Skip to content

Commit 374d392

Browse files
committed
Merge branch 'feature/rtd-flake-fix' into feature/buff-worms
2 parents 6498822 + 18c07ca commit 374d392

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,7 @@
176176
# Output file base name for HTML help builder.
177177
htmlhelp_basename = 'mfrdoc'
178178

179+
# This block will use the same theme when building locally as on RTD.
179180
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
180-
181-
# On RTD we can't import sphinx_rtd_theme, but it will be applied by
182-
# default anyway. This block will use the same theme when building locally
183-
# as on RTD.
184181
if not on_rtd:
185-
import sphinx_rtd_theme
186182
html_theme = 'sphinx_rtd_theme'

0 commit comments

Comments
 (0)