summaryrefslogtreecommitdiff
path: root/sphinx/ext/pngmath.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-22 11:06:42 +0200
committerGeorg Brandl <georg@python.org>2014-09-22 11:06:42 +0200
commit71cd2f7e50b692f9149cf5103b9bb289bc4f76c6 (patch)
tree8cca6002fbe256402ef15c92b643715cef01954b /sphinx/ext/pngmath.py
parent57e897669db1913db08beec2484ea1e9c8f105f7 (diff)
downloadsphinx-git-71cd2f7e50b692f9149cf5103b9bb289bc4f76c6.tar.gz
Change extension setup() return value to a dictionary of metadata.
This makes it possible to introduce more metadata values later.
Diffstat (limited to 'sphinx/ext/pngmath.py')
-rw-r--r--sphinx/ext/pngmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/pngmath.py b/sphinx/ext/pngmath.py
index ee108d166..342b1bd8a 100644
--- a/sphinx/ext/pngmath.py
+++ b/sphinx/ext/pngmath.py
@@ -246,4 +246,4 @@ def setup(app):
app.add_config_value('pngmath_latex_preamble', '', 'html')
app.add_config_value('pngmath_add_tooltips', True, 'html')
app.connect('build-finished', cleanup_tempdir)
- return sphinx.__version__
+ return {'version': sphinx.__version__}