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: Ia207f4c8d2e6134aed4dbee37ccfb7b7f58bab16 Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
This commit is contained in:
parent
40cb90d12c
commit
478d0a0c72
|
@ -58,16 +58,9 @@ master_doc = 'index'
|
|||
project = u'Cinder Client 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 cinderclient.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 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.
|
||||
|
|
Loading…
Reference in New Issue