build docs with vanilla read the docs template

This commit is contained in:
Mel van Londen 2019-06-09 15:30:41 -07:00
parent 40229b8a73
commit c6e5e79208
2 changed files with 6 additions and 8 deletions

View File

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

View File

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