diff --git a/docs/conf.py b/docs/conf.py index 20b228c..d729246 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..5de8cc6 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +# Docs template +https://github.com/graphql-python/graphene-python.org/archive/docs.zip