From f7eb0937c9c8fa29ded8d0220b257049605b09c0 Mon Sep 17 00:00:00 2001 From: Rajiv Kumar Date: Fri, 27 Jan 2017 09:21:49 +0530 Subject: [PATCH] Added link to modindex The documentation build does not generate any module index, thus the link to the page has been added. The page http://docs.openstack.org/developer/neutron-lbaas-dashboard/py-modindex.html contains module indexes. Change-Id: I527e7e56c2997f49fd54f337407d089b6bbf0f57 --- doc/source/conf.py | 3 +++ setup.cfg | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 29cb1526..2eda35bd 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -73,3 +73,6 @@ latex_documents = [ # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} + +# A list of ignored prefixes for module index sorting. +modindex_common_prefix = ['neutron-lbaas-dashboard.'] diff --git a/setup.cfg b/setup.cfg index 58c5e812..b8c3c176 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,3 +27,7 @@ all_files = 1 [upload_sphinx] upload-dir = doc/build/html + +[pbr] +autodoc_index_modules = True +warnerrors = True