From 85ba674d95ad2a3883d2e3ce82fecb3219f12d7d 2014-04-02 21:18:31 From: Thomas Kluyver Date: 2014-04-02 21:18:31 Subject: [PATCH] Backport PR #5503: 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"