diff --git a/docs/conf.py b/docs/conf.py
index 0eee4c090168a7fe1687eeb511379635ac3eb64d..23be2e4897793e573210eb63f764b0bd2551dff6 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -114,6 +114,8 @@ if not on_rtd:  # only import and set the theme if we're building docs locally
     except:
         html_theme = 'default'
         html_theme_path = ['.']
+else:
+    html_theme_path = ['.']
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the