Enable sphinx todo extension

In a previous change [0] when warning-is-error was added, the
sphinx todo extension was causing errors with duplicate
registration. However with the recent changes between pbr and
sphinx, this extension no longer throws a duplicate error when
using warning-is-error and we can add it back in.

[0] https://review.openstack.org/#/c/439797/

Change-Id: I2c3c44015f5b961c56360f44b52c56629760de43
This commit is contained in:
Gage Hugo 2017-07-17 11:16:19 -05:00
parent accecea89b
commit 0948e5e6da
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__),
# extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.intersphinx',
'openstackdocstheme',
@ -233,4 +234,4 @@ intersphinx_mapping = {
# -- Options for openstackdocstheme -------------------------------------------
repository_name = 'openstack/keystoneauth'
bug_project = 'keystoneauth'
bug_tag = 'doc'
bug_tag = 'doc'