summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsonu.kumar <sonu.kumar@nectechnologies.in>2017-01-26 23:51:12 -0500
committersonu.kumar <sonu.kumar@nectechnologies.in>2017-01-26 23:55:57 -0500
commit5f23b4bdcc50eafa7de8b609c25f76a080e4e503 (patch)
tree129e43e0c200b8e1fa69f1f7a9d08146c4b61574
parent92004a58a5ab5ddd89d3f797f16dca8abd76c9ed (diff)
downloadpython-designateclient-5f23b4bdcc50eafa7de8b609c25f76a080e4e503.tar.gz
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
-rw-r--r--doc/source/conf.py2
-rw-r--r--setup.cfg4
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 1b2a8a9..6cc504d 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 a6f5adb..7348fba 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