Skip to content

Commit

Permalink
doc/conf.py: Workaround ipywidget intersphinx inventory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-raillard-arm committed Jul 15, 2024
1 parent 73ce433 commit 2a4f67e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2a4f67e

Please sign in to comment.