diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-01-22 00:36:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 00:36:50 +0900 |
commit | 52a9a1a81862469ce040103e652f09ec90afb146 (patch) | |
tree | 9802123ed4d2e66f959391413d714ec5a5cf82f7 /sphinx/ext/mathjax.py | |
parent | c2548de2722a1c146241b81d3ed30531ace89254 (diff) | |
parent | de2d07d70bb2650ae422fca75ef66c0ca14177b2 (diff) | |
download | sphinx-git-52a9a1a81862469ce040103e652f09ec90afb146.tar.gz |
Merge pull request #5975 from sphinx-doc/5966_mathjax_not_loaded
Fix #5966: mathjax has not been loaded on incremental build
Diffstat (limited to 'sphinx/ext/mathjax.py')
-rw-r--r-- | sphinx/ext/mathjax.py | 2 |
1 files changed, 1 insertions, 1 deletions
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} |