diff --git a/doc/conf.py b/doc/conf.py index 095b75556e6c1e1069421e9ec04a1e2304a3be9d..a6321becd12331df9915a5cee947fdaa337b0f73 100755 --- a/doc/conf.py +++ b/doc/conf.py @@ -27,6 +27,7 @@ extensions = [ "sphinx.ext.viewcode", "sphinx.ext.mathjax", "matplotlib.sphinxext.plot_directive", + "auto_intersphinx", ] # Be picky about warnings @@ -231,3 +232,11 @@ autodoc_default_options = { "undoc-members": True, "show-inheritance": True, } + +auto_intersphinx_packages = [ + ("python", "3"), + "numpy", + "scikit-learn", + "dask", +] +auto_intersphinx_catalog = "catalog.json" diff --git a/pyproject.toml b/pyproject.toml index cc86975f3cde2c91f45c057b0ecb0f7359ea467c..e6efeebdd6d18145fa6be5fde4c5518a6498b5cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ [project.optional-dependencies] qa = ["pre-commit"] doc = [ + "auto-intersphinx", "sphinx", "sphinx_rtd_theme", "sphinx-autodoc-typehints",