From 0948e5e6da27bd62be7722e2abdb3df37b269c38 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Mon, 17 Jul 2017 11:16:19 -0500 Subject: [PATCH] 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 --- doc/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1bbb962f..2a41a1af 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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' \ No newline at end of file +bug_tag = 'doc'