File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ dependencies:
23
23
- sudo apt-get install build-essential python-dev python-setuptools
24
24
# install numpy first as it is a compile time dependency for other packages
25
25
- pip install --upgrade numpy
26
- - pip install --upgrade scipy matplotlib setuptools nose coverage sphinx pillow sphinx-gallery
26
+ - pip install --upgrade scipy matplotlib setuptools nose coverage sphinx pillow sphinx-gallery sphinx_rtd_theme
27
27
# Installing required packages for `make -C doc check command` to work.
28
28
- sudo -E apt-get -yq update
29
29
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install dvipng texlive-latex-base texlive-latex-extra
Original file line number Diff line number Diff line change 15
15
import sys
16
16
import os
17
17
18
+ import sphinx_rtd_theme
19
+
18
20
# If extensions (or modules to document with autodoc) are in another directory,
19
21
# add these directories to sys.path here. If the directory is relative to the
20
22
# documentation root, use os.path.abspath to make it absolute, like shown here.
125
127
126
128
# The theme to use for HTML and HTML Help pages. See the documentation for
127
129
# a list of builtin themes.
128
- html_theme = 'nature '
130
+ html_theme = 'sphinx_rtd_theme '
129
131
130
132
# Theme options are theme-specific and customize the look and feel of a theme
131
133
# further. For a list of options available for each theme, see the
132
134
# documentation.
133
135
#html_theme_options = {}
134
136
135
137
# Add any paths that contain custom themes here, relative to this directory.
136
- # html_theme_path = []
138
+ html_theme_path = [sphinx_rtd_theme . get_html_theme_path () ]
137
139
138
140
# The name for this set of Sphinx documents. If None, it defaults to
139
141
# "<project> v<release> documentation".
You can’t perform that action at this time.
0 commit comments