Skip to content

Commit

Permalink
fix mathjax output by specifying mathjax as html math renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz-Alexander-Kern committed Nov 15, 2022
1 parent 979e67d commit e3dfcbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@
'numpy': ('https://numpy.org/doc/stable', None)
}

# The name of math_renderer extension for HTML output.
html_math_renderer = 'mathjax'

# Use more reliable mathjax source
mathjax_path = 'https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML'

Expand Down

0 comments on commit e3dfcbd

Please sign in to comment.