Skip to content

Commit 86c309a

Browse files
committed
configure.ac: disable mathjax with --disable-doc
Our mathjax package is used only to build the sphinx documentation that can be disabled with --disable-doc. It therefore makes sense to disable the mathjax package along with the other dependencies pruned by --disable-doc.
1 parent 6ea1fe9 commit 86c309a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ AC_ARG_ENABLE([doc],
496496
AS_HELP_STRING([--disable-doc],
497497
[disable build of the Sage documentation and packages depending on it]), [
498498
dnl Disable packages needed for docbuilding
499-
for pkg in sage_docbuild alabaster babel snowballstemmer imagesize sphinx sphinxcontrib_devhelp sphinxcontrib_jsmath sphinxcontrib_serializinghtml sphinxcontrib_applehelp sphinxcontrib_htmlhelp sphinxcontrib_qthelp sphinxcontrib_websupport jupyter_sphinx furo sphinx_copybutton; do
499+
for pkg in sage_docbuild alabaster babel snowballstemmer imagesize sphinx sphinxcontrib_devhelp sphinxcontrib_jsmath sphinxcontrib_serializinghtml sphinxcontrib_applehelp sphinxcontrib_htmlhelp sphinxcontrib_qthelp sphinxcontrib_websupport jupyter_sphinx furo sphinx_copybutton mathjax; do
500500
AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval])
501501
done
502502
AS_VAR_IF([enableval], [no], [dnl Disable the docbuild by disabling the install tree for documentation

0 commit comments

Comments
 (0)