From 63c220e8d37e204cd1377f700ef7052960c84ee3 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Thu, 16 Nov 2017 10:52:54 -0600 Subject: [PATCH] Remove setting of version/release from releasenotes Release notes are version independent, so remove version/release values. We've found that most projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. Change-Id: I0ca29d19436422a382bce8c23bba24a6e677c434 Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8 --- releasenotes/source/conf.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 0b124dacf..c2da3bea6 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -17,8 +17,6 @@ # # http://www.sphinx-doc.org/en/stable/config.html -from os_brick.version import version_info - # -- General configuration ------------------------------------------------ # Add any Sphinx extension module names here, as strings. They can be @@ -39,15 +37,9 @@ master_doc = 'index' project = u'OS-Brick Release Notes' copyright = u'2015, Cinder Developers' -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -# The full version, including alpha/beta/rc tags. -release = version_info.version_string_with_vcs() -# The short X.Y version. -version = version_info.canonical_version_string() +# Release notes are unversioned, so we don't need to set version and release +version = '' +release = '' # -- Options for HTML output ----------------------------------------------