Skip to content

Commit effb686

Browse files
author
Max Jones
committed
Apply theme suggestion
1 parent 64a377b commit effb686

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

doc/conf.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
# type: ignore
1616

17-
import os
1817
import sys
1918

2019
import sphinx_autosummary_accessors
@@ -148,18 +147,10 @@ def setup(app):
148147

149148
# -- Options for HTML output ----------------------------------------------
150149

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-
159150
# The theme to use for HTML and HTML Help pages. See the documentation for
160151
# a list of builtin themes.
161152
# tml_theme = 'default'
162-
html_theme = 'sphinx_rtd_theme'
153+
html_theme = 'furo'
163154

164155
# Theme options are theme-specific and customize the look and feel of a theme
165156
# further. For a list of options available for each theme, see the

doc/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies:
66
- python=3.8
77
- dask
88
- docrep
9+
- furo
910
- ipython
1011
- matplotlib
1112
- nbsphinx
@@ -15,6 +16,5 @@ dependencies:
1516
- sphinx
1617
- sphinx-autosummary-accessors
1718
- sphinx-copybutton
18-
- sphinx_rtd_theme
1919
- xarray
2020
- pip

0 commit comments

Comments
 (0)