From 46144c4a27c31101882dc5ca96c16672f4550c02 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Thu, 16 Nov 2017 10:19:38 -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: I9b631dbedd1b2c8bfe7430943dfc16e85b9f85e0 --- releasenotes/source/conf.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 9e161dd5a97..964fd143021 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -58,16 +58,9 @@ bug_tag = 'doc' project = u'Cinder 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. -from cinder.version import version_info as cinder_version -# The full version, including alpha/beta/rc tags. -release = cinder_version.version_string_with_vcs() -# The short X.Y version. -version = cinder_version.canonical_version_string() +# Release notes are version independent, no need to set version and release +release = '' +version = '' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.