diff --git a/doc/Makefile b/doc/Makefile index 7deaaf2a2e..a90b13e133 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -236,7 +236,7 @@ $(VENV): ) $(MATHJAX): - @git clone --depth 1 git://github.com/mathjax/MathJax.git $@ + @git clone -b 3.1.3 -c advice.detachedHead=0 --depth 1 git://github.com/mathjax/MathJax.git $@ $(TXT2RST) $(ANCHORCHECK): $(VENV) @( \