docs: Fix RTD build configuration.

ReadTheDocs needs the root directory in its search path so it finds
topindex.html.
This commit is contained in:
Damien George 2014-11-15 21:33:07 +00:00
parent d1b42d7b51
commit 5228854f0e
1 changed files with 2 additions and 0 deletions

View File

@ -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