Fix releasenotes generation

Change-Id: Id72ea6407350bfccf7443bca9f4880d1324812c9
This commit is contained in:
Luka Peschke
2019-03-27 10:43:24 +01:00
parent 658fd14155
commit 89475e2aac

View File

@@ -16,7 +16,6 @@
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.')) #sys.path.insert(0, os.path.abspath('.'))
import pbr.version
# -- General configuration ------------------------------------------------ # -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here. # If your documentation needs a minimal Sphinx version, state it here.
@@ -26,8 +25,8 @@ import pbr.version
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [ extensions = [
'oslosphinx',
'reno.sphinxext', 'reno.sphinxext',
'openstackdocstheme',
] ]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
@@ -46,16 +45,12 @@ master_doc = 'index'
project = u'Cloudkitty Client Release Notes' project = u'Cloudkitty Client Release Notes'
copyright = u'2016, Cloudkitty developers' copyright = u'2016, Cloudkitty developers'
# The version info for the project you're documenting, acts as replacement for # Release notes are version independent.
# |version| and |release|, also used in various other places throughout the
# built documents.
#
cloudkittyclient_version = pbr.version.VersionInfo('python-cloudkittyclient')
# The short X.Y version. # The short X.Y version.
version = cloudkittyclient_version.canonical_version_string() version = ''
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = cloudkittyclient_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.
@@ -100,7 +95,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # a list of builtin themes.
html_theme = 'default' html_theme = 'openstackdocs'
# Theme options are theme-specific and customize the look and feel of a theme # Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the # further. For a list of options available for each theme, see the