Merge "Remove setting of version/release from releasenotes"

This commit is contained in:
Zuul
2017-11-28 11:29:51 +00:00
committed by Gerrit Code Review

View File

@@ -33,7 +33,6 @@
# sys.path.insert(0, os.path.abspath('.')) # sys.path.insert(0, os.path.abspath('.'))
import datetime import datetime
from swift import __version__
# -- General configuration ------------------------------------------------ # -- General configuration ------------------------------------------------
@@ -69,14 +68,12 @@ master_doc = 'index'
project = u'Swift Release Notes' project = u'Swift Release Notes'
copyright = u'%d, OpenStack Foundation' % datetime.datetime.now().year copyright = u'%d, OpenStack Foundation' % datetime.datetime.now().year
# The version info for the project you're documenting, acts as replacement for # Release notes do not need a version number in the title, they
# |version| and |release|, also used in various other places throughout the # cover multiple releases.
# built documents.
#
# The short X.Y version. # The short X.Y version.
version = __version__.rsplit('.', 1)[0] version = ''
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = __version__ 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.