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
This commit is contained in:
Sean McGinnis 2017-11-16 10:19:38 -06:00 committed by Sean McGinnis
parent 65e7282652
commit 46144c4a27
1 changed files with 3 additions and 10 deletions

View File

@ -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.