Skip to content

Commit b80493a

Browse files
committed
Improved docs theme.
1 parent e437058 commit b80493a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

docs/conf.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,14 @@
133133
# The theme to use for HTML and HTML Help pages. See the documentation for
134134
# a list of builtin themes.
135135
#
136-
html_theme = 'alabaster'
137-
if on_rtd:
138-
html_theme = 'sphinx_rtd_theme'
136+
# html_theme = 'alabaster'
137+
# if on_rtd:
138+
# html_theme = 'sphinx_rtd_theme'
139+
import sphinx_graphene_theme
140+
141+
html_theme = "sphinx_graphene_theme"
142+
143+
html_theme_path = [sphinx_graphene_theme.get_html_theme_path()]
139144

140145

141146
# Theme options are theme-specific and customize the look and feel of a theme

docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Docs template
2+
https://github.com/graphql-python/graphene-python.org/archive/docs.zip

0 commit comments

Comments
 (0)