diff --git a/docs/sphinx/source/conf.py b/docs/sphinx/source/conf.py index 93c1e63527..9c0d90990e 100644 --- a/docs/sphinx/source/conf.py +++ b/docs/sphinx/source/conf.py @@ -56,6 +56,9 @@ 'sphinx_toggleprompt', ] +mathjax3_config = {'chtml': {'displayAlign': 'left', + 'displayIndent': '2em'}} + napoleon_use_rtype = False # group rtype on same line together with return # Add any paths that contain templates here, relative to this directory. diff --git a/docs/sphinx/source/whatsnew/v0.11.0.rst b/docs/sphinx/source/whatsnew/v0.11.0.rst index 7ea847a6d9..142974ea78 100644 --- a/docs/sphinx/source/whatsnew/v0.11.0.rst +++ b/docs/sphinx/source/whatsnew/v0.11.0.rst @@ -27,7 +27,7 @@ Testing Documentation ~~~~~~~~~~~~~ - +* Configure mathjax to left-align and indent equations in docstrings. (:pull:`2056`) Requirements ~~~~~~~~~~~~ @@ -35,3 +35,4 @@ Requirements Contributors ~~~~~~~~~~~~ +* Cliff Hansen (:ghuser:`cwhanse`)