Skip to content

Commit d58ae9a

Browse files
committed
Trying to work around rtd issue readthedocs/readthedocs.org#1776
1 parent 5fc7ed8 commit d58ae9a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@
207207
# Add any paths that contain custom static files (such as style sheets) here,
208208
# relative to this directory. They are copied after the builtin static files,
209209
# so a file named "default.css" will overwrite the builtin "default.css".
210-
html_static_path = ['_static']
210+
if on_rtd:
211+
html_static_path = []
212+
else:
213+
html_static_path = ['_static']
211214

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

0 commit comments

Comments
 (0)