diff options
author | Georg Brandl <georg@python.org> | 2014-09-03 16:39:30 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-09-03 16:39:30 +0200 |
commit | fc680f1e25959ccc0e210dd6d5070dca360208c7 (patch) | |
tree | 4a5e542712eb5e38e0601a337e4b64ad5f6a91db /sphinx/ext/jsmath.py | |
parent | b6594d18d1923c6f9858b3adce9fccf883fe8023 (diff) | |
download | sphinx-git-fc680f1e25959ccc0e210dd6d5070dca360208c7.tar.gz |
Return version from setup() for all sphinx.ext extensions.
Diffstat (limited to 'sphinx/ext/jsmath.py')
-rw-r--r-- | sphinx/ext/jsmath.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/ext/jsmath.py b/sphinx/ext/jsmath.py index 8907576f5..897d87acb 100644 --- a/sphinx/ext/jsmath.py +++ b/sphinx/ext/jsmath.py @@ -12,6 +12,7 @@ from docutils import nodes +import sphinx from sphinx.application import ExtensionError from sphinx.ext.mathbase import setup_math as mathbase_setup @@ -56,3 +57,4 @@ def setup(app): mathbase_setup(app, (html_visit_math, None), (html_visit_displaymath, None)) app.add_config_value('jsmath_path', '', False) app.connect('builder-inited', builder_inited) + return sphinx.__version__ |