--- a/docs/src/conf.py
+++ b/docs/src/conf.py
@@ -27,6 +27,7 @@
 autoapi_dirs = ['../../ngsPETSc']
 templates_path = ['_templates']
 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 mathjax3_config = {'chtml': {'displayAlign': 'left'}}
 html_sourcelink_suffix = ''
 nbsphinx_prolog = r"""
