DOC(ENH): specify path to rtd theme explicitly

This commit is contained in:
Yaroslav Halchenko 2015-06-25 10:46:22 -04:00
parent 8a140b6ba1
commit 48582be9a6
1 changed files with 4 additions and 1 deletions

View File

@ -108,7 +108,10 @@ html_theme = 'sphinx_rtd_theme'
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
# Add path to the RTD explicitly to robustify builds (otherwise might
# fail in a clean Debian build env)
import sphinx_rtd_theme
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# The style sheet to use for HTML and HTML Help pages. A file of that name