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