mirror of
https://github.com/graphql-python/graphene.git
synced 2025-09-21 19:32:33 +03:00
build docs with vanilla read the docs template
This commit is contained in:
parent
40229b8a73
commit
c6e5e79208
12
docs/conf.py
12
docs/conf.py
|
@ -1,7 +1,5 @@
|
|||
import os
|
||||
|
||||
import sphinx_graphene_theme
|
||||
|
||||
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
|
@ -133,13 +131,13 @@ 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'
|
||||
|
||||
html_theme = "sphinx_graphene_theme"
|
||||
# html_theme = "sphinx_graphene_theme"
|
||||
|
||||
html_theme_path = [sphinx_graphene_theme.get_html_theme_path()]
|
||||
# html_theme_path = [sphinx_graphene_theme.get_html_theme_path()]
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Required library
|
||||
Sphinx==1.5.3
|
||||
# Docs template
|
||||
http://graphene-python.org/sphinx_graphene_theme.zip
|
||||
sphinx_rtd_theme==0.4.3
|
||||
|
|
Loading…
Reference in New Issue
Block a user