Remove setting of version/release from releasenotes

Release notes are version independent, so remove version/release values.
We've found that there are many projects now that require installation
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: If553414e9734b27b565c81f64845635edc0290eb
Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
This commit is contained in:
Sean McGinnis 2017-11-16 10:45:32 -06:00
parent 91779579f6
commit f914e379f9
1 changed files with 3 additions and 10 deletions

View File

@ -59,16 +59,9 @@ master_doc = 'index'
project = u'Glance Release Notes'
copyright = u'2015, 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.
from glance.version import version_info as glance_version
# The full version, including alpha/beta/rc tags.
release = glance_version.version_string_with_vcs()
# The short X.Y version.
version = glance_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.