|
23 | 23 |
|
24 | 24 | # -- General configuration -----------------------------------------------------
|
25 | 25 |
|
| 26 | + |
26 | 27 | # If your documentation needs a minimal Sphinx version, state it here.
|
27 | 28 | #needs_sphinx = '1.0'
|
28 | 29 |
|
29 | 30 | # Add any Sphinx extension module names here, as strings. They can be extensions
|
30 | 31 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
31 | 32 | extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo',
|
32 |
| - 'sphinxcontrib.aafig'] |
| 33 | + 'sphinxcontrib.aafig', |
| 34 | + 'pyramid_sphinx_themes' |
| 35 | + ] |
33 | 36 |
|
34 | 37 | # Add any paths that contain templates here, relative to this directory.
|
35 | 38 | templates_path = ['_templates']
|
|
104 | 107 |
|
105 | 108 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
106 | 109 | # 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' |
113 | 116 |
|
114 | 117 | # html_theme = 'bootstrap'
|
115 | 118 |
|
116 |
| -html_theme ='cloud' |
| 119 | +#html_theme ='ground' |
117 | 120 |
|
118 | 121 | # Theme options are theme-specific and customize the look and feel of a theme
|
119 | 122 | # further. For a list of options available for each theme, see the
|
120 | 123 | # documentation.
|
121 | 124 | #html_theme_options = {}
|
122 | 125 |
|
123 | 126 | # Add any paths that contain custom themes here, relative to this directory.
|
124 |
| -#html_theme_path = ['_themes'] |
| 127 | +html_theme_path = ['_themes'] |
125 | 128 |
|
126 | 129 | #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() |
128 | 134 |
|
129 | 135 | # html_theme_options = {
|
130 | 136 | # 'bootswatch_theme': 'united',
|
|
0 commit comments