Skip to content

Commit

Permalink
Fix: math rendering with sphinx 5.3.0 (#527)
Browse files Browse the repository at this point in the history
* update source for mathjax, define mathjax as html renderer

* removed sphinx extension imgmath

* removed mathjax source link
  • Loading branch information
Moritz-Alexander-Kern committed Nov 24, 2022
1 parent dd42af5 commit d12d80f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/conf.py
Expand Up @@ -33,7 +33,6 @@
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.imgmath',
'sphinx.ext.viewcode',
'sphinx.ext.mathjax',
'sphinxcontrib.bibtex',
Expand Down Expand Up @@ -347,8 +346,8 @@
'numpy': ('https://numpy.org/doc/stable', None)
}

# Use more reliable mathjax source
mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
# The name of math_renderer extension for HTML output.
html_math_renderer = 'mathjax'

# Remove the copyright notice from docstrings:

Expand Down

0 comments on commit d12d80f

Please sign in to comment.