Skip to content

Commit

Permalink
Formatting in Jupyter Notebooks (#516)
Browse files Browse the repository at this point in the history
Jupyter notebook math expressions were not rendering locally or in
docker container - update made to conf.py to fix.

[ reviewed by @mellis13 @al-rigazzi ]
[ committed by @amandarichardsonn ]
  • Loading branch information
amandarichardsonn authored Mar 14, 2024
1 parent 6660efc commit 4722b4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
'sphinx_copybutton',
'sphinx_tabs.tabs',
'sphinx_design',
'sphinx.ext.mathjax',
]

autodoc_mock_imports = ["smartredis.smartredisPy"]
Expand All @@ -62,6 +63,9 @@
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The path to the MathJax.js file that Sphinx will use to render math expressions
mathjax_path = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
Expand Down

0 comments on commit 4722b4f

Please sign in to comment.