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/extlinks.py | |
parent | b6594d18d1923c6f9858b3adce9fccf883fe8023 (diff) | |
download | sphinx-git-fc680f1e25959ccc0e210dd6d5070dca360208c7.tar.gz |
Return version from setup() for all sphinx.ext extensions.
Diffstat (limited to 'sphinx/ext/extlinks.py')
-rw-r--r-- | sphinx/ext/extlinks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/ext/extlinks.py b/sphinx/ext/extlinks.py index 2a54761af..c0cfbcd2b 100644 --- a/sphinx/ext/extlinks.py +++ b/sphinx/ext/extlinks.py @@ -27,6 +27,7 @@ from six import iteritems from docutils import nodes, utils +import sphinx from sphinx.util.nodes import split_explicit_title @@ -58,3 +59,4 @@ def setup_link_roles(app): def setup(app): app.add_config_value('extlinks', {}, 'env') app.connect('builder-inited', setup_link_roles) + return sphinx.__version__ |