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: I9c1154453f5a5263771e42b0eb5ebdc3a78ffc16
Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
This commit is contained in:
Sean McGinnis
2017-11-16 10:54:34 -06:00
parent 9915f275ca
commit 3656f86b97
+3 -11
View File
@@ -59,17 +59,9 @@ master_doc = 'index'
project = u'glanceclient Release Notes'
copyright = u'2016, Glance 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.
import pbr.version
# The full version, including alpha/beta/rc tags.
glance_version = pbr.version.VersionInfo('glanceclient')
release = glance_version.version_string_with_vcs()
# The short X.Y version.
version = glance_version.canonical_version_string()
# Release notes are not versioned, so we don't need to set version or release
version = ''
release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.