docs: fix math rendering in sphinx website

This commit is contained in:
gnikit 2022-07-19 01:07:11 +01:00
parent 3443455cf9
commit 197a53ce3c
No known key found for this signature in database
GPG Key ID: E9A03930196133F0

View File

@ -34,9 +34,22 @@ release = "1.0"
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
'sphinx.ext.mathjax',
"myst_nb",
]
# Setup the myst_nb extension for LaTeX equations rendering
myst_enable_extensions = [
"amsmath",
"colon_fence",
"deflist",
"dollarmath",
"html_image",
]
myst_dmath_allow_labels = True
myst_dmath_double_inline = True
myst_update_mathjax = True
# Tell myst_nb not to execute the notebooks
nb_execution_mode = "off"