diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2019-04-27 17:55:09 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2019-04-27 17:55:09 +0200 |
commit | 6e1b9ff8580bb4aa1f49768301ba343d6b50ed36 (patch) | |
tree | d8019c667551bc2538af729389ded79114e5f4eb | |
parent | f0d96ae2bf3b010ce53adadde1e38997497a513e (diff) | |
download | scipy-sphinx-theme-6e1b9ff8580bb4aa1f49768301ba343d6b50ed36.tar.gz |
MAINT: change pngmath to imgmath extension.
pngmath doesn't exist anymore in recent Sphinx releases.
-rw-r--r-- | conf.py | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,6 +1,6 @@ needs_sphinx = '1.1' -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath', 'numpydoc', +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.imgmath', 'numpydoc', 'sphinx.ext.intersphinx', 'sphinx.ext.coverage', 'sphinx.ext.autosummary', 'matplotlib.sphinxext.plot_directive'] @@ -28,13 +28,6 @@ html_theme_options = { ("http://docs.scipy.org/", "Docs")] } -pngmath_latex_preamble = r""" -\usepackage{color} -\definecolor{textgray}{RGB}{51,51,51} -\color{textgray} -""" -pngmath_use_preview = True -pngmath_dvipng_args = ['-gamma 1.5', '-D 96', '-bg Transparent'] #------------------------------------------------------------------------------ # Plot style |