Fixed errors while generating releasenotes
*Extension error: Could not import extension oslosphinx (exception: No module named oslosphinx) *Extension error: Could not import extension reno.sphinxtest (exception: No module named sphinxtest) *Warning, treated as error: /home/python-mistralclient/releasenotes/source/index.rst:7: WARNING: toctree contains reference to nonexisting document u'Indices and tables' Also correct the mistralclient version details. Change-Id: Icabd8a2a4876786abbad35e55f0d59ad94651d85 Closes-Bug: #1634809
This commit is contained in:
parent
eeb740612e
commit
329a1788bd
@ -24,6 +24,7 @@
|
||||
# serve to show the default.
|
||||
|
||||
# import sys, os
|
||||
import pbr.version
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
@ -39,7 +40,7 @@
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = [
|
||||
'oslosphinx',
|
||||
'reno.sphinxtest',
|
||||
'reno.sphinxext',
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
@ -61,8 +62,8 @@ copyright = u'2016, Mistral 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.
|
||||
#
|
||||
from mistralclient.version import version_info as mistralclient_version
|
||||
|
||||
mistralclient_version = pbr.version.VersionInfo('python-mistralclient')
|
||||
# The short X.Y version.
|
||||
version = mistralclient_version.canonical_version_string()
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
|
@ -8,10 +8,3 @@ Contents
|
||||
:maxdepth: 2
|
||||
|
||||
unreleased
|
||||
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
* :ref:`genindex`
|
||||
* :ref:`search`
|
||||
|
@ -12,3 +12,4 @@ requests-mock>=1.1 # Apache-2.0
|
||||
tempest>=12.1.0 # Apache-2.0
|
||||
osprofiler>=1.4.0 # Apache-2.0
|
||||
reno>=1.8.0 # Apache2
|
||||
oslosphinx>=4.7.0 # Apache-2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user