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: I0ca29d19436422a382bce8c23bba24a6e677c434
Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
This commit is contained in:
Sean McGinnis 2017-11-16 10:52:54 -06:00
parent d5a69a49fc
commit 63c220e8d3
1 changed files with 3 additions and 11 deletions

View File

@ -17,8 +17,6 @@
#
# http://www.sphinx-doc.org/en/stable/config.html
from os_brick.version import version_info
# -- General configuration ------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
@ -39,15 +37,9 @@ master_doc = 'index'
project = u'OS-Brick 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.
# 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, so we don't need to set version and release
version = ''
release = ''
# -- Options for HTML output ----------------------------------------------