diff options
author | Melissa Weber Mendonça <melissawm@gmail.com> | 2021-05-27 06:52:05 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 11:52:05 +0200 |
commit | 89da72353f5e282a36a8e9ad9012400dbe452ced (patch) | |
tree | c5debdee11879018726ca913af39471f0954d6ce /doc/source/conf.py | |
parent | f7e6e512105c0a26917d00f597b11efe0de97375 (diff) | |
download | numpy-89da72353f5e282a36a8e9ad9012400dbe452ced.tar.gz |
MAINT: replace imgmath with mathjax for docs (#19036)
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r-- | doc/source/conf.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |