doc: fix the MathJax option

- if Mathjax is detected, use it by default,
it not do not use it by default but allow the user
to provide the path.