From 89da72353f5e282a36a8e9ad9012400dbe452ced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melissa=20Weber=20Mendon=C3=A7a?= Date: Thu, 27 May 2021 06:52:05 -0300 Subject: MAINT: replace imgmath with mathjax for docs (#19036) --- doc/source/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/source/conf.py') diff --git a/doc/source/conf.py b/doc/source/conf.py index bf2fbdce9..5ba7f70b8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -83,11 +83,9 @@ extensions = [ 'matplotlib.sphinxext.plot_directive', 'IPython.sphinxext.ipython_console_highlighting', 'IPython.sphinxext.ipython_directive', - 'sphinx.ext.imgmath', + 'sphinx.ext.mathjax', ] -imgmath_image_format = 'svg' - # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -188,6 +186,8 @@ if 'sphinx.ext.pngmath' in extensions: pngmath_use_preview = True pngmath_dvipng_args = ['-gamma', '1.5', '-D', '96', '-bg', 'Transparent'] +mathjax_path = "scipy-mathjax/MathJax.js?config=scipy-mathjax" + plot_html_show_formats = False plot_html_show_source_link = False -- cgit v1.2.1