mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-25 19:14:11 +03:00
Improved docs theme
This commit is contained in:
parent
eef2841742
commit
8b42a66eaa
11
docs/conf.py
11
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
|
||||
|
|
2
docs/requirements.txt
Normal file
2
docs/requirements.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Docs template
|
||||
https://github.com/graphql-python/graphene-python.org/archive/docs.zip
|
Loading…
Reference in New Issue
Block a user