# 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
# 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
+word_re = re.compile(r'[-.\w]+(?u)')
+
+import sphinx.search
+# older versions (before 1.1.3, 1.0.7 for sure) had no language
+# customizations
+if hasattr(sphinx.search, 'word_re'):
+ sphinx.search.word_re = word_re
+else:
+ from sphinx.search.en import SearchEnglish
+ SearchEnglish._word_re = word_re
+
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
language = 'en'