diff --git a/docs/conf.py b/docs/conf.py index 4c775a33..c65bf932 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,6 +26,7 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ + 'hoverxref.extension', 'notfound.extension', 'sphinx.ext.autodoc', 'sphinx.ext.doctest', @@ -257,6 +258,11 @@ } -# --- Nitpicking options ------------------------------------------------------ +# -- Nitpicking options ------------------------------------------------------- nitpicky = True + + +# -- sphinx-hoverxref options ------------------------------------------------- + +hoverxref_auto_ref = True diff --git a/docs/requirements.txt b/docs/requirements.txt index ffbc6da7..27420981 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ sphinx +sphinx-hoverxref sphinx-notfound-page sphinx_rtd_theme