Skip to content

Commit 091844f

Browse files
committed
switch back to rtd theme
1 parent fe500fd commit 091844f

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

doc/conf.py

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@
2323

2424
# -- General configuration -----------------------------------------------------
2525

26+
2627
# If your documentation needs a minimal Sphinx version, state it here.
2728
#needs_sphinx = '1.0'
2829

2930
# Add any Sphinx extension module names here, as strings. They can be extensions
3031
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3132
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo',
32-
'sphinxcontrib.aafig']
33+
'sphinxcontrib.aafig',
34+
'pyramid_sphinx_themes'
35+
]
3336

3437
# Add any paths that contain templates here, relative to this directory.
3538
templates_path = ['_templates']
@@ -104,27 +107,30 @@
104107

105108
# The theme to use for HTML and HTML Help pages. See the documentation for
106109
# a list of builtin themes.
107-
# on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
108-
# if on_rtd:
109-
# html_theme = 'default'
110-
# else:
111-
# html_theme = 'bootstrap'
112-
# html_theme = 'rtd'
110+
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
111+
if on_rtd:
112+
html_theme = 'default'
113+
else:
114+
html_theme = 'bootstrap'
115+
html_theme = 'rtd'
113116

114117
# html_theme = 'bootstrap'
115118

116-
html_theme ='cloud'
119+
#html_theme ='ground'
117120

118121
# Theme options are theme-specific and customize the look and feel of a theme
119122
# further. For a list of options available for each theme, see the
120123
# documentation.
121124
#html_theme_options = {}
122125

123126
# Add any paths that contain custom themes here, relative to this directory.
124-
#html_theme_path = ['_themes']
127+
html_theme_path = ['_themes']
125128

126129
#html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
127-
html_theme_path = [cloud_sptheme.get_theme_dir()]
130+
#html_theme_path = [cloud_sptheme.get_theme_dir()]
131+
132+
# from pyramid_sphinx_themes import get_html_themes_path
133+
# html_theme_path = get_html_themes_path()
128134

129135
# html_theme_options = {
130136
# 'bootswatch_theme': 'united',

doc/requirements.pip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ sphinx==dev
44
sphinxcontrib-aafig
55
reportlab
66
#sphinx_bootstrap_theme
7-
cloud-sptheme
7+
#cloud-sptheme

0 commit comments

Comments
 (0)