Skip to content

Commit 9f0171d

Browse files
committed
Add missing config and remove lefovers
1 parent 487a02d commit 9f0171d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

hoverxref/extension.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ def setup(app):
220220
app.add_config_value('hoverxref_auto_ref', False, 'env')
221221
app.add_config_value('hoverxref_mathjax', False, 'env')
222222
app.add_config_value('hoverxref_sphinxtabs', False, 'env')
223+
app.add_config_value('hoverxref_roles', [], 'env')
223224
app.add_config_value('hoverxref_domains', [], 'env')
224225

225226
app.add_config_value('hoverxref_tooltip_api_host', 'https://readthedocs.org', 'env')

tests/examples/custom-object/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111

1212

1313
def setup(app):
14-
from hoverxref.nodeparser import parse_node
1514
app.add_object_type(
1615
'confval', # directivename
1716
'confval', # rolename
1817
'pair: %s; configuration value', # indextemplate
19-
parse_node=parse_node('confval'),
2018
)

0 commit comments

Comments
 (0)