From 48582be9a6caefa1cdf9e6c852f17fce903b553b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 25 Jun 2015 10:46:22 -0400 Subject: [PATCH] DOC(ENH): specify path to rtd theme explicitly --- docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 2d22c6a64..a593bbd65 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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