Remove setting of version/release from releasenotes

Releasenotes are version independent, so remove version/release display.
This also allows to build the document without nova installed.

Change-Id: Iadb57089a866ef4b334670456a4116c245dbd968
This commit is contained in:
Andreas Jaeger 2017-11-16 11:52:07 +01:00 committed by Andreas Jaeger
parent b28924b8e4
commit 026825c7c2
1 changed files with 3 additions and 4 deletions

View File

@ -52,11 +52,10 @@ bug_tag = ''
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
# built documents. # built documents.
# #
from nova.version import version_info as nova_version # Release notes are version independent, no need to set version and release.
# The short X.Y version. version = ""
version = nova_version.canonical_version_string()
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = nova_version.version_string_with_vcs() release = ""
# 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.