Skip to content

Commit

Permalink
gh-36210: configure.ac: disable mathjax with --disable-doc
Browse files Browse the repository at this point in the history
    
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`.
    
URL: #36210
Reported by: Michael Orlitzky
Reviewer(s): Kwankyu Lee
  • Loading branch information
Release Manager committed Sep 15, 2023
2 parents 6fe3561 + 86c309a commit 322ad22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ AC_ARG_ENABLE([doc],
AS_HELP_STRING([--disable-doc],
[disable build of the Sage documentation and packages depending on it]), [
dnl Disable packages needed for docbuilding
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
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
AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval])
done
AS_VAR_IF([enableval], [no], [dnl Disable the docbuild by disabling the install tree for documentation
Expand Down

0 comments on commit 322ad22

Please sign in to comment.