Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit 65524c4

Browse files
committed
Starting sphinx-7.4.0, sphinx.ext.intersphinx is a package, so check for module names prefix rather than full names
Signed-off-by: Christian López Barrón <[email protected]>
1 parent b7a9721 commit 65524c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hoverxref/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def setup_intersphinx(app, config):
174174

175175
for listener in app.events.listeners.get('missing-reference'):
176176
module_name = inspect.getmodule(listener.handler).__name__
177-
if module_name == 'sphinx.ext.intersphinx':
177+
if module_name.startswith('sphinx.ext.intersphinx'):
178178
app.disconnect(listener.id)
179179

180180

0 commit comments

Comments
 (0)