Skip to content

Commit

Permalink
enable math mode for ipynb in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
manzanillo committed Jan 14, 2025
1 parent 31ab06d commit b0a41fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.napoleon',
'sphinx.ext.mathjax',
'sphinx.ext.inheritance_diagram',
'sphinx.ext.todo',
'sphinx.ext.extlinks',
'sphinx.ext.intersphinx',
"myst_nb",
'sphinx.ext.mathjax',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -164,7 +164,13 @@

# -- Options for MyST-NB ---------------------------------------------------------
nb_execution_mode = 'off'
myst_amsmath_enable = True

# Enable the appropriate MyST extensions for math
myst_enable_extensions = [
"dollarmath",
"amsmath",
]

# -- Options for sphinxcontrib.bibtex -------------------------------------------------

Expand Down

0 comments on commit b0a41fd

Please sign in to comment.