summaryrefslogtreecommitdiffstats
path: root/tests/test_sphinx/sourcedirs/mathjax/conf.py
blob: b2a70c8de155d9b68e2c81b31f2de2ca3f7bb8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import sphinx

extensions = ["myst_parser"]
exclude_patterns = ["_build"]

if sphinx.version_info[0] <= 3:
    mathjax_config = {"tex2jax": {"processClass": "other"}}
else:
    mathjax3_config = {"options": {"processHtmlClass": "other"}}

# this should remove the warning
# suppress_warnings = ["myst.mathjax"]