@@ -109,6 +109,7 @@ def setup(app):
109
109
app .add_config_value ('hoverxref_roles' , [], 'env' )
110
110
app .add_config_value ('hoverxref_domains' , [], 'env' )
111
111
112
+ # Tooltipster settings
112
113
app .add_config_value ('hoverxref_tooltip' , False , 'env' )
113
114
app .add_config_value ('hoverxref_tooltip_api_host' , 'https://readthedocs.org' , 'env' )
114
115
app .add_config_value ('hoverxref_tooltip_theme' , ['tooltipster-shadow' , 'tooltipster-shadow-custom' ], 'env' )
@@ -120,14 +121,19 @@ def setup(app):
120
121
app .add_config_value ('hoverxref_tooltip_content' , 'Loading...' , 'env' )
121
122
app .add_config_value ('hoverxref_tooltip_class' , 'rst-content' , 'env' )
122
123
123
-
124
+ # MicroModal settings
124
125
app .add_config_value ('hoverxref_modal' , False , 'env' )
125
126
app .add_config_value ('hoverxref_modal_hover_delay' , 350 , 'env' )
126
127
app .add_config_value ('hoverxref_modal_class' , 'rst-content' , 'env' )
128
+ app .add_config_value ('hoverxref_modal_openclass' , 'is-open' , 'env' )
129
+ app .add_config_value ('hoverxref_modal_disable_focus' , True , 'env' )
130
+ app .add_config_value ('hoverxref_modal_disable_scroll' , False , 'env' )
131
+ app .add_config_value ('hoverxref_modal_awaitopenanimation' , False , 'env' )
132
+ app .add_config_value ('hoverxref_modal_awaitcloseanimation' , False , 'env' )
133
+ app .add_config_value ('hoverxref_modal_debugmode' , False , 'env' )
127
134
app .add_config_value ('hoverxref_modal_default_title' , 'Note' , 'env' )
128
135
app .add_config_value ('hoverxref_modal_prefix_title' , '📝 ' , 'env' )
129
136
130
-
131
137
app .set_translator ('html' , HoverXRefHTMLTranslator , override = True )
132
138
133
139
# Read the Docs use ``readthedocs`` as the name of the build, so we need to
0 commit comments