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: I17f397302374fb86e10cfd8010428621873dbab5
Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
This commit is contained in:
Sean McGinnis 2017-11-16 10:51:04 -06:00
parent 4edaa06e9d
commit 9919524f8f
1 changed files with 3 additions and 10 deletions

View File

@ -58,16 +58,9 @@ master_doc = 'index'
project = u'python-brick-cinderclient-ext Release Notes'
copyright = u'2016, 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 brick_cinderclient_ext.version import version_info
# 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 and do not need version and release set
version = ''
release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.