summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@huawei.com>2017-11-16 10:48:22 -0600
committerSean McGinnis <sean.mcginnis@huawei.com>2017-11-16 10:48:22 -0600
commit478d0a0c725a5d2e244b528cf9d7ea82e9372d93 (patch)
treebe8d9b5279d6d772f53f7df8d8cef8b06295bfb1
parent40cb90d12c1bdf20cbf081569c6a94aead0b9f39 (diff)
downloadpython-cinderclient-478d0a0c725a5d2e244b528cf9d7ea82e9372d93.tar.gz
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
-rw-r--r--releasenotes/source/conf.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 2623c9e..cff4496 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -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.