From 26375533a5a15f5c5ddfcb348c512fbdb3315a96 2014-04-02 19:57:15 From: MinRK Date: 2014-04-02 19:57:15 Subject: [PATCH] check explicitly for 'dev' before adding the note to docs allows 'maint' suffix (or similar) for the maintenance branches, so they don't get the note on every page. --- diff --git a/docs/source/conf.py b/docs/source/conf.py index bd4bb88..b32efe6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -68,12 +68,12 @@ templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' -if iprelease['_version_extra']: +if iprelease['_version_extra'] == 'dev': rst_prolog = """ .. note:: This documentation is for a development version of IPython. There may be - significant differences from the latest stable release (1.2.1). + significant differences from the latest stable release. """ @@ -82,7 +82,7 @@ master_doc = 'index' # General substitutions. project = 'IPython' -copyright = '2008, The IPython Development Team' +copyright = 'The IPython Development Team' # ghissue config github_project_url = "https://github.com/ipython/ipython"