Skip to content

Commit

Permalink
switch docs from mathjax to katex (#1301)
Browse files Browse the repository at this point in the history
Updates the sphinx documentation build to use KaTeX instead of MathJax because the final docs build uses KaTeX. The same change was made in Qiskit in Qiskit/qiskit#11435.
  • Loading branch information
kevinsung authored Jan 2, 2024
1 parent 2d0d5eb commit f3dbad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
'sphinx.ext.napoleon',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.mathjax',
'jupyter_sphinx',
'sphinx_autodoc_typehints',
'reno.sphinxext',
'nbsphinx',
'sphinxcontrib.katex',
]
templates_path = ['_templates']

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ sphinx-automodapi
sphinx-autodoc-typehints<=1.19.2
jupyter-sphinx
reno>=2.11.0
sphinxcontrib-katex==0.9.9

0 comments on commit f3dbad0

Please sign in to comment.