Improved docs theme

This commit is contained in:
Syrus Akbary 2016-09-26 00:54:44 -07:00
parent eef2841742
commit 8b42a66eaa
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

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