mirror of
https://github.com/ImperialCollegeLondon/ReCoDE_MCMCFF.git
synced 2025-06-26 08:51:16 +02:00
docs: fix math rendering in sphinx website
This commit is contained in:
parent
3443455cf9
commit
197a53ce3c
13
docs/conf.py
13
docs/conf.py
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user