From 897e01d1dbaf639cb5e46e52c8ca30366b2b3f49 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Sun, 24 Sep 2017 21:34:38 +0200 Subject: [PATCH] Use mathjax instead of Latex for building math in docs --- templates/sphinx-conf.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/templates/sphinx-conf.py b/templates/sphinx-conf.py index 10146fd..c72c1a9 100644 --- a/templates/sphinx-conf.py +++ b/templates/sphinx-conf.py @@ -25,16 +25,10 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinx.ext.napoleon', 'sphinx.ext.viewcode', + 'sphinx.ext.mathjax', #'matplotlib.sphinxext.plot_directive' ] -import sphinx -if sphinx.__version__ >= "1.4.1": - extensions.append('sphinx.ext.imgmath') - imgmath_image_format = 'svg' -else: - extensions.append('sphinx.ext.pngmath') - # Be picky about warnings nitpicky = True -- GitLab