diff --git a/doc/conf.py b/doc/conf.py index 0739047fc..8d4575238 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -54,6 +54,7 @@ 'sphinx_copybutton', 'sphinx_tabs.tabs', 'sphinx_design', + 'sphinx.ext.mathjax', ] autodoc_mock_imports = ["smartredis.smartredisPy"] @@ -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.