Skip to content

Commit 9617def

Browse files
authored
DOC fix rendering equations (#633)
1 parent de14f0a commit 9617def

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

doc/conf.py

+3-8
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,8 @@
4646
# see https://github.com/numpy/numpydoc/issues/69
4747
numpydoc_show_class_members = False
4848

49-
# pngmath / imgmath compatibility layer for different sphinx versions
50-
import sphinx
51-
from distutils.version import LooseVersion
52-
if LooseVersion(sphinx.__version__) < LooseVersion('1.4'):
53-
extensions.append('sphinx.ext.pngmath')
54-
else:
55-
extensions.append('sphinx.ext.imgmath')
49+
extensions.append('sphinx.ext.imgmath')
50+
imgmath_image_format = 'svg'
5651

5752
autodoc_default_flags = ['members', 'inherited-members']
5853

@@ -138,7 +133,7 @@
138133
# Theme options are theme-specific and customize the look and feel of a theme
139134
# further. For a list of options available for each theme, see the
140135
# documentation.
141-
# html_theme_options = {'prev_next_buttons_location': None}
136+
# html_theme_options = {}
142137

143138
# Add any paths that contain custom themes here, relative to this directory.
144139
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

0 commit comments

Comments
 (0)