Source package: no longer embed a copy of MathJax
The copy of MathJax that we were embedding was not source code, because it contained minified Javascript. In particular, this is a problem for the official Debian package. We now strip the copy. Users compiling the HTML manual from the source tarball will therefore get MathJax from a CDN (this is the default behaviour of Sphinx).time-shift
parent
9ba634ad2a
commit
d98cf64195
|
@ -69,6 +69,7 @@ build_doc:
|
|||
pkg_source:
|
||||
stage: test_and_pkg
|
||||
script:
|
||||
- rm doc/manual/source/_static/mathjax && sed -i "/^mathjax_path *=/d" doc/manual/source/conf.py
|
||||
- 'for f in configure.ac preprocessor/configure.ac mex/build/matlab/configure.ac mex/build/octave/configure.ac; do sed -i "s/^AC_INIT(\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1], [$VERSION])/" $f; done'
|
||||
- autoreconf -si
|
||||
- ./configure --with-matlab=$MATLAB_PATH MATLAB_VERSION=$MATLAB_VERSION
|
||||
|
|
Loading…
Reference in New Issue