From 126cad8dee7a4455901c5fb56a81cb17a473c2b0 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Wed, 8 Mar 2017 11:02:46 -0600 Subject: [PATCH] Remove old comment referencing fixed bug There was an old comment left regarding this bug: https://bugs.launchpad.net/pbr/+bug/1260495 which was fixed over a year ago but left over. This change removes the comment and related extension and adds the referenced pbr setting. Change-Id: Ib334c136835a9b5b43cabe13b9616cce45e578e0 --- doc/source/conf.py | 4 ---- setup.cfg | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 71909b7c..a6eb2c4b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -43,10 +43,6 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.intersphinx', - # NOTE(blk-u): Uncomment the [pbr] section in setup.cfg and - # remove this Sphinx extension when - # https://launchpad.net/bugs/1260495 is fixed. - 'ext.apidoc', 'oslosphinx', 'oslo_config.sphinxconfiggen' ] diff --git a/setup.cfg b/setup.cfg index dff4e89c..96b31045 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,6 +45,10 @@ source-dir = doc/source build-dir = doc/build all_files = 1 +[pbr] +autodoc_tree_index_modules = True +autodoc_tree_excludes = setup.py + [upload_sphinx] upload-dir = doc/build/html