From c6e5e79208605fa1f423e468a13995c39d4765f2 Mon Sep 17 00:00:00 2001 From: Mel van Londen Date: Sun, 9 Jun 2019 15:30:41 -0700 Subject: [PATCH] build docs with vanilla read the docs template --- docs/conf.py | 12 +++++------- docs/requirements.txt | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c7927ec2..24919893 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,5 @@ import os -import sphinx_graphene_theme - on_rtd = os.environ.get("READTHEDOCS", None) == "True" # -*- coding: utf-8 -*- @@ -133,13 +131,13 @@ todo_include_todos = True # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -# html_theme = 'alabaster' -# if on_rtd: -# html_theme = 'sphinx_rtd_theme' +html_theme = 'alabaster' +if on_rtd: + html_theme = 'sphinx_rtd_theme' -html_theme = "sphinx_graphene_theme" +# html_theme = "sphinx_graphene_theme" -html_theme_path = [sphinx_graphene_theme.get_html_theme_path()] +# html_theme_path = [sphinx_graphene_theme.get_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 diff --git a/docs/requirements.txt b/docs/requirements.txt index b6e0cd75..26afe57e 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ # Required library Sphinx==1.5.3 # Docs template -http://graphene-python.org/sphinx_graphene_theme.zip +sphinx_rtd_theme==0.4.3