|
16 | 16 | import sys |
17 | 17 | import os |
18 | 18 | import shlex |
| 19 | +import sphinx_bootstrap_theme |
19 | 20 |
|
20 | 21 | # If extensions (or modules to document with autodoc) are in another directory, |
21 | 22 | # add these directories to sys.path here. If the directory is relative to the |
|
62 | 63 | # built documents. |
63 | 64 | # |
64 | 65 | # The short X.Y version. |
65 | | -version = '0' |
| 66 | +version = '1.10' |
66 | 67 | # The full version, including alpha/beta/rc tags. |
67 | | -release = '.1' |
| 68 | +release = '0' |
68 | 69 |
|
69 | 70 | # The language for content autogenerated by Sphinx. Refer to documentation |
70 | 71 | # for a list of supported languages. |
|
115 | 116 |
|
116 | 117 | # The theme to use for HTML and HTML Help pages. See the documentation for |
117 | 118 | # a list of builtin themes. |
118 | | -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' |
| 119 | +html_theme = 'bootstrap' |
| 120 | +html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() |
119 | 121 |
|
120 | | -if not on_rtd: # only import and set the theme if we're building docs locally |
121 | | - import sphinx_rtd_theme |
122 | | - html_theme = 'sphinx_rtd_theme' |
123 | | - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
| 122 | +#on_rtd = os.environ.get('READTHEDOCS', None) == 'True' |
| 123 | +# |
| 124 | +#if not on_rtd: # only import and set the theme if we're building docs locally |
| 125 | +# import sphinx_rtd_theme |
| 126 | +# html_theme = 'sphinx_rtd_theme' |
| 127 | +# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
124 | 128 |
|
125 | 129 | # Theme options are theme-specific and customize the look and feel of a theme |
126 | 130 | # further. For a list of options available for each theme, see the |
127 | 131 | # documentation. |
128 | | -#html_theme_options = {} |
| 132 | +html_theme_options = {'bootswatch_theme': 'flatly'} |
129 | 133 |
|
130 | 134 | # Add any paths that contain custom themes here, relative to this directory. |
131 | 135 | #html_theme_path = [] |
|
0 commit comments