diff options
author | Georg Brandl <georg@python.org> | 2015-03-08 17:03:00 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-03-08 17:03:00 +0100 |
commit | b5c2279e05b3f18b660b29c8bd0989fbb8a1582a (patch) | |
tree | bf4f1390758c6e807e7d816fe1f869a6ce7b7ea2 /sphinx/ext/jsmath.py | |
parent | ba9dcaac5120f58c3cc0bc455b4beceab3a4abd9 (diff) | |
download | sphinx-git-b5c2279e05b3f18b660b29c8bd0989fbb8a1582a.tar.gz |
ext: pep8 fixes
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 64d1b3a2c..399c9bc09 100644 --- a/sphinx/ext/jsmath.py +++ b/sphinx/ext/jsmath.py @@ -22,6 +22,7 @@ def html_visit_math(self, node): self.body.append(self.encode(node['latex']) + '</span>') raise nodes.SkipNode + def html_visit_displaymath(self, node): if node['nowrap']: self.body.append(self.starttag(node, 'div', CLASS='math')) @@ -46,6 +47,7 @@ def html_visit_displaymath(self, node): self.body.append('</div>\n') raise nodes.SkipNode + def builder_inited(app): if not app.config.jsmath_path: raise ExtensionError('jsmath_path config value must be set for the ' |