We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc8815 commit 5eaf948Copy full SHA for 5eaf948
hoverxref/extension.py
@@ -76,7 +76,8 @@ def setup_sphinx_tabs(app, config):
76
Sphinx Tabs removes the CSS/JS from pages that does not use the directive.
77
Although, we need them to use inside the tooltip.
78
"""
79
- for listener_id, function in app.events.listeners.get('html-page-context').items():
+ listeners = list(app.events.listeners.get('html-page-context').items())
80
+ for listener_id, function in listeners:
81
module_name = inspect.getmodule(function).__name__
82
if module_name == 'sphinx_tabs.tabs':
83
app.disconnect(listener_id)
0 commit comments