diff --git a/CHANGES b/CHANGES index 576d8caca..aa9715134 100644 --- a/CHANGES +++ b/CHANGES @@ -223,6 +223,7 @@ Bugs fixed in an admonition * #5231: "make html" does not read and build "po" files in "locale" dir * #5954: ``:scale:`` image option may break PDF build if image in an admonition +* #5966: mathjax has not been loaded on incremental build Testing -------- diff --git a/sphinx/ext/mathjax.py b/sphinx/ext/mathjax.py index 3a26fcdda..5a84e738f 100644 --- a/sphinx/ext/mathjax.py +++ b/sphinx/ext/mathjax.py @@ -109,6 +109,6 @@ def setup(app): app.add_config_value('mathjax_inline', [r'\(', r'\)'], 'html') app.add_config_value('mathjax_display', [r'\[', r'\]'], 'html') app.add_config_value('mathjax_config', None, 'html') - app.connect('env-check-consistency', install_mathjax) + app.connect('env-updated', install_mathjax) return {'version': sphinx.__display_version__, 'parallel_read_safe': True}