From f6981ec5df77c5204d14090d90a0c1da3f6d096d Mon Sep 17 00:00:00 2001 From: Sofus Rose Date: Thu, 26 Jan 2017 17:47:28 -0500 Subject: [PATCH] Changed sphinx_rtd_theme to pip version --- doc/source/conf.py | 5 ++++- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 887c8a4..511971e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -136,7 +136,10 @@ html_theme_options = { } # Add any paths that contain custom themes here, relative to this directory. -html_theme_path = ["_themes",] +import sphinx_rtd_theme + +sphinx_rtd_theme.get_html_theme_path() +html_theme_path = ["_themes",sphinx_rtd_theme.get_html_theme_path()] # The name for this set of Sphinx documents. # " v documentation" by default. diff --git a/requirements.txt b/requirements.txt index f8f63c8..ee06ef1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,4 @@ Wand setuptools pybind11 sphinx - +sphinx_rtd_theme