Skip to content

Commit 46cd025

Browse files
committed
Updated docs theme
1 parent c9a30f7 commit 46cd025

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

docs/conf.py

+8-3
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
# Theme options are theme-specific and customize the look and feel of a theme
141146
# further. For a list of options available for each theme, see the

docs/requirements.txt

+2
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)