diff --git a/docs/conf.py b/docs/conf.py index bbf98149..45abe4d5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,6 +53,7 @@ 'IPython.sphinxext.ipython_console_highlighting', #'numpydoc', 'sphinx.ext.viewcode', + 'sphinxcontrib.prettyspecialmethods', 'sphinxcontrib.bibtex', #'sphinx.ext.mathjax', diff --git a/docs/requirements.txt b/docs/requirements.txt index 88be0d08..266b8678 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -6,6 +6,7 @@ nbsphinx ipywidgets sphinx>=2.4 sphinx_rtd_theme +sphinxcontrib-prettyspecialmethods sphinxcontrib-bibtex # needed to avoid https://github.com/sphinx-doc/sphinx/issues/8198