From 2a4f67e0aa007e8075a5e697ed4ddf7e798afdb7 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Mon, 15 Jul 2024 13:59:55 +0100 Subject: [PATCH] doc/conf.py: Workaround ipywidget intersphinx inventory issue FIX Workaround for: https://github.com/jupyter-widgets/ipywidgets/issues/3930 --- doc/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 8fd481d41e..a8d81f2eab 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -478,6 +478,13 @@ def run(cmd, **kwargs): ignored_refs = set(map(re.compile, ignored_refs)) +# Workaround for: https://github.com/jupyter-widgets/ipywidgets/issues/3930 +# Suggested: https://github.com/sphinx-doc/sphinx/issues/12585#issuecomment-2228420035 +suppress_warnings = [ + 'intersphinx.external', +] + + class CustomPythonDomain(PythonDomain): def find_obj(self, env, modname, classname, name, type, searchmode=0): refs = super().find_obj(env, modname, classname, name, type, searchmode)