]> git.donarmstrong.com Git - neurodebian.git/blobdiff - sphinx/conf.py
Merge remote-tracking branch 'gh-neurodebian/master'
[neurodebian.git] / sphinx / conf.py
index 3ae121a311238440092ab98d156691725aac4131..5949bc3e956f94294cb74f2f94c3a18d050f4142 100644 (file)
@@ -64,7 +64,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Debian Neuroscience Package Repository'
-copyright = u'2009-2012, NeuroDebian Team <team@neuro.debian.net>'
+copyright = u'2009-2013, NeuroDebian Team <team@neuro.debian.net>'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -75,6 +75,12 @@ version = ''
 # The full version, including alpha/beta/rc tags.
 release = ''
 
+# Monkey patch "English" language regular expression so we could
+# search for package names as well
+import re
+from sphinx.search.en import SearchEnglish
+SearchEnglish._word_re = re.compile(r'[-.\w]+(?u)')
+
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 language = 'en'