Doxygen and Mathjax. Slow HTML Document Navigation

I am using Doxygen (for documentation).

I also use mathjax, as there is a lot of mathematical formula in my documentation.

Usually endless runs are great, but today I noticed very slow navigation on HTML pages (e.g. 10 seconds or more to load).

I found (using the CHROME network tool) that the problem is http GET for mathjax.js on the mathjax server.

Is this something rare that doesn't happen often or is there a problem with the mathjax server?

This is common, is there another way to create latex formulas for HTML documentation without using an Internet connection?

+4
source share
1 answer

There is a MATHJAX_RELPATH option that points to the directory containing MathJax.js . By default, the MathJax download location is used on the Internet.

So, just download the script (from http://cdn.mathjax.org/mathjax/latest/MathJax.js ) and change the setting to a local directory relative to the documentation output in which you placed This. The documentation even offers this.

+2
source

All Articles