diff --git a/doc/source/conf.py b/doc/source/conf.py index 1058e9c..c6d68bd 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -58,6 +58,9 @@ pygments_style = 'sphinx' # html_theme = '_theme' # html_static_path = ['static'] +# A list of ignored prefixes for module index sorting. +modindex_common_prefix = ['valence.'] + # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project diff --git a/setup.cfg b/setup.cfg index 71f6ac3..008092b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,10 @@ classifier = packages = valence +[pbr] +autodoc_index_modules = True +warnerrors = True + [build_sphinx] source-dir = doc/source build-dir = doc/build @@ -53,4 +57,4 @@ source-dir = releasenotes/source [entry_points] console_scripts = valence = valence.cmd.api:main - db_manager = valence.cmd.db_manager:main \ No newline at end of file + db_manager = valence.cmd.db_manager:main