1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -115,6 +115,8 @@
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
#extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath']
--- a/xrt/gui/commons/conf.py
+++ b/xrt/gui/commons/conf.py
@@ -2,6 +2,8 @@
#
# xrt documentation build configuration file, created by sphinx-quickstart
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
#extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath']
|