diff --git a/docs/conf.py b/docs/conf.py index 1e182cd..e2a9ecc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,6 +57,7 @@ "sphinx_autodoc_typehints", "sphinx.ext.mathjax", "IPython.sphinxext.ipython_console_highlighting", + "sphinxext.opengraph", *[p.stem for p in (HERE / "extensions").glob("*.py")], ] diff --git a/pyproject.toml b/pyproject.toml index 0f3724c..cc26c91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,7 @@ doc = [ "myst-nb", "sphinxcontrib-bibtex>=1.0.0", "sphinx-autodoc-typehints", + "sphinxext-opengraph", # For notebooks "ipykernel", "ipython",