From 5f23b4bdcc50eafa7de8b609c25f76a080e4e503 Mon Sep 17 00:00:00 2001 From: "sonu.kumar" Date: Thu, 26 Jan 2017 23:51:12 -0500 Subject: [PATCH] Fix broken link for modindex The documentation build does not generate any module index, therefore modified setup.cfg to create module index. Change-Id: I6140896d5779e8360c866267601713bbf572fee4 --- doc/source/conf.py | 2 +- setup.cfg | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1b2a8a99..6cc504dc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -85,7 +85,7 @@ exclude_patterns = [] pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. -#modindex_common_prefix = [] +modindex_common_prefix = ['designateclient'] # -- Options for HTML output --------------------------------------------------- diff --git a/setup.cfg b/setup.cfg index a6f5adb7..7348fba0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -173,3 +173,7 @@ output_file = designateclient/locale/designateclient.pot [wheel] universal = 1 + +[pbr] +autodoc_index_modules = True +warnerrors = True