Merge "Remove setting of version/release from releasenotes"

This commit is contained in:
Zuul 2018-03-09 11:18:46 +00:00 committed by Gerrit Code Review
commit c032291e3f
1 changed files with 3 additions and 11 deletions

View File

@ -59,17 +59,9 @@ master_doc = 'index'
project = u'glanceclient Release Notes'
copyright = u'2016, 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.
import pbr.version
# The full version, including alpha/beta/rc tags.
glance_version = pbr.version.VersionInfo('glanceclient')
release = glance_version.version_string_with_vcs()
# The short X.Y version.
version = glance_version.canonical_version_string()
# Release notes are not versioned, so we don't need to set version or release
version = ''
release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.