File tree 2 files changed +3
-11
lines changed
2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 14
14
15
15
# type: ignore
16
16
17
- import os
18
17
import sys
19
18
20
19
import sphinx_autosummary_accessors
@@ -148,18 +147,10 @@ def setup(app):
148
147
149
148
# -- Options for HTML output ----------------------------------------------
150
149
151
- on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
152
-
153
- if not on_rtd : # only import and set the theme if we're building docs locally
154
- import sphinx_rtd_theme
155
-
156
- html_theme = 'sphinx_rtd_theme'
157
- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
158
-
159
150
# The theme to use for HTML and HTML Help pages. See the documentation for
160
151
# a list of builtin themes.
161
152
# tml_theme = 'default'
162
- html_theme = 'sphinx_rtd_theme '
153
+ html_theme = 'pangeo_sphinx_book_theme '
163
154
164
155
# Theme options are theme-specific and customize the look and feel of a theme
165
156
# further. For a list of options available for each theme, see the
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ dependencies:
15
15
- sphinx
16
16
- sphinx-autosummary-accessors
17
17
- sphinx-copybutton
18
- - sphinx_rtd_theme
19
18
- xarray
20
19
- pip
20
+ - pip :
21
+ - pangeo-sphinx-book-theme
You can’t perform that action at this time.
0 commit comments