From 7d4e705567bfeeeea0f9809939714d4b4dc31fab Mon Sep 17 00:00:00 2001 From: Thomas J Fan Date: Sat, 14 Dec 2019 15:26:19 -0500 Subject: [PATCH] BLD Fixes bug when building with NO_MATHJAX=1 --- doc/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/conf.py b/doc/conf.py index 0386f7676e0be..c4d7e578216fd 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -51,6 +51,7 @@ if os.environ.get('NO_MATHJAX'): extensions.append('sphinx.ext.imgmath') imgmath_image_format = 'svg' + mathjax_path = '' else: extensions.append('sphinx.ext.mathjax') mathjax_path = ('https://cdn.jsdelivr.net/npm/mathjax@3/es5/'