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' project = u'glanceclient Release Notes'
copyright = u'2016, Glance Developers' copyright = u'2016, Glance Developers'
# The version info for the project you're documenting, acts as replacement for # Release notes are not versioned, so we don't need to set version or release
# |version| and |release|, also used in various other places throughout the version = ''
# built documents. release = ''
#
# 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()
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.