Updated docs theme

This commit is contained in:
Syrus Akbary 2016-09-26 00:45:23 -07:00
parent c9a30f7139
commit 46cd025835
2 changed files with 10 additions and 3 deletions

View File

@ -133,9 +133,14 @@ 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'
import sphinx_graphene_theme
html_theme = "sphinx_graphene_theme"
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

2
docs/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
# Docs template
https://github.com/graphql-python/graphene-python.org/archive/docs.zip