X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sphinx%2Fconf.py;h=aefd155932202c732107e9097312204cd73c5542;hb=ec8eddbfc73c6eaf36c6b34df0e2e9d74e89728b;hp=5ec8c0f0f1ba417cc749f3d43361aca9c3b0c8a6;hpb=c3873b11733e725bf5fdda4af383e73f981aac62;p=neurodebian.git diff --git a/sphinx/conf.py b/sphinx/conf.py index 5ec8c0f..aefd155 100644 --- a/sphinx/conf.py +++ b/sphinx/conf.py @@ -64,7 +64,7 @@ master_doc = 'index' # General information about the project. project = u'Debian Neuroscience Package Repository' -copyright = u'2009-2010, NeuroDebian Team' +copyright = u'2009-2014, NeuroDebian Team ' # 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,9 +75,23 @@ 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 +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 = None +language = 'en' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: @@ -118,6 +132,15 @@ pygments_style = 'sphinx' # given in html_static_path. html_style = 'neurodebian.css' +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +html_theme = 'default' + +# Theme options are theme-specific and customize the look and feel of a theme +# further. For a list of options available for each theme, see the +# documentation. +html_theme_options = {'nosidebar': True} + # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". html_title = project @@ -213,6 +236,13 @@ latex_documents = [ # RSS feed # -------- -feed_base_url = 'http://neuro.debian.net/blog' -feed_description = "Debian for neuroscience and neuroscience in Debian" -feed_filename = 'rss.xml' +feed_base_url = 'http://neuro.debian.net' +feed_title = "NeuroDebian Insider" +feed_subtitle = "This solves all your problems" +feed_description = "A blog about using the ultimate operating system in neuroscience research" +feed_variants = {'planetdebian': {'filename': 'feeds/for-debian-planet.xml', + 'tag': 'debian'}, + 'all': {'filename': 'feeds/blog.xml', 'tag': None}} +feed_categories = ['debian', 'neuroscience'] +feed_author_name = 'NeuroDebian team' +feed_author_email = 'team@neuro.debian.net'