8000 BLD Fixes bug when building with NO_MATHJAX=1 (#15892) · ogrisel/scikit-learn@2627d9e · GitHub
[go: up one dir, main page]

Skip to content

Commit 2627d9e

Browse files
thomasjpfanogrisel
authored andcommitted
BLD Fixes bug when building with NO_MATHJAX=1 (scikit-learn#15892)
1 parent accb491 commit 2627d9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
if os.environ.get('NO_MATHJAX'):
5252
extensions.append('sphinx.ext.imgmath')
5353
imgmath_image_format = 'svg'
54+
mathjax_path = ''
5455
else:
5556
extensions.append('sphinx.ext.mathjax')
5657
mathjax_path = ('https://cdn.jsdelivr.net/npm/mathjax@3/es5/'

0 commit comments

Comments
 (0)
0