diff --git a/docs/source/conf.py b/docs/source/conf.py index a97f5e03b1..668ef4c8ae 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -17,6 +17,7 @@ import subprocess from recommonmark.parser import CommonMarkParser +import sphinx_rtd_theme # import sys # sys.path.insert(0, os.path.abspath('.')) @@ -58,8 +59,6 @@ shell=True) if not on_rtd: - import sphinx_rtd_theme - html_theme = "sphinx_rtd_theme" html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # Add any paths that contain templates here, relative to this directory. @@ -117,7 +116,9 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -# html_theme = 'alabaster' +html_theme = 'sphinx_rtd_theme' + +numfig = True # 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