From 6975d089a362466938ca0fc37faee2a6ee5dd934 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 29 Mar 2013 01:26:57 +0100 Subject: [PATCH] Align Sphinx autodoc options with oslo. The Sphinx autodoc changes also went into olso a little differently. Change-Id: If1f337db693053f2627c0c426a51bc13128033a7 Reviewed-on: https://review.openstack.org/25676 Reviewed-by: James E. Blair Reviewed-by: Clark Boylan Approved: Monty Taylor Tested-by: Jenkins --- doc/source/index.rst | 9 --------- setup.cfg | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 75e69ca..266988a 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -5,18 +5,9 @@ A library for managing setuptools packaging needs in a consistent manner. PBR is not a library about beer. -Contents --------- - -.. toctree:: - :maxdepth: 1 - - api/autoindex - Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search` - diff --git a/setup.cfg b/setup.cfg index 3df1ed3..80dcea4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,5 +24,5 @@ packages = setup-hooks = pbr.hooks.setup_hook -[build_sphinx] +[pbr] warnerrors = True