We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
add_config_value
1 parent bf4a626 commit 9844162Copy full SHA for 9844162
doc/development/theming.rst
@@ -328,7 +328,7 @@ code may use:
328
# We connect this function to the step after the builder is initialized
329
def setup(app):
330
# Tell Sphinx about this configuration variable
331
- app.add_config_value('my_javascript_variable')
+ app.add_config_value('my_javascript_variable', 0, 'html')
332
# Run the function after the builder is initialized
333
app.connect('builder-inited', add_js_variable)
334
0 commit comments