summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py
index b83ba84da..22ab60972 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -38,10 +38,11 @@ epub_scheme = 'url'
epub_identifier = epub_publisher
epub_pre_files = [('index.html', 'Welcome')]
epub_post_files = [('install.html', 'Installing Sphinx'),
- ('develop.html', 'Sphinx development')]
+ ('develop.html', 'Sphinx development')]
epub_exclude_files = ['_static/opensearch.xml', '_static/doctools.js',
- '_static/jquery.js', '_static/searchtools.js', '_static/underscore.js',
- '_static/basic.css', 'search.html', '_static/websupport.js']
+ '_static/jquery.js', '_static/searchtools.js',
+ '_static/underscore.js', '_static/basic.css',
+ 'search.html', '_static/websupport.js']
epub_fix_images = False
epub_max_image_width = 0
epub_show_urls = 'inline'
@@ -93,11 +94,11 @@ gettext_compact = False
# -- Extension interface -------------------------------------------------------
-from sphinx import addnodes
-
+from sphinx import addnodes # noqa
event_sig_re = re.compile(r'([a-zA-Z-]+)\s*\((.*)\)')
+
def parse_event(env, sig, signode):
m = event_sig_re.match(sig)
if not m: