summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2014-09-03 17:50:27 -0400
committerDavanum Srinivas <dims@linux.vnet.ibm.com>2014-09-04 21:32:18 -0400
commitffd9a6de0cc946f946833a9a6ebde816dc30bcb3 (patch)
tree8ddfc7a27c0856b8067d4bd2bd151608b43deb47 /setup.cfg
parent76c3f502e835bd841d28014e815ee55f92c03399 (diff)
downloadoslo-vmware-ffd9a6de0cc946f946833a9a6ebde816dc30bcb3.tar.gz
Add docs target and generate api docs
Once we use the pbr based build to generate files, we prune the indexes to remove references to code we would like to hide like the common modules and private modules in conf.py. We reuse the same excluded_patterns variable that is already used in Sphinx and filter these modules from autoindex.rst Closes-Bug: #1364140 Change-Id: I5767e429e63935f055a6f4e82349224ccfa2f497
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 7d93433..f4b9024 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -46,3 +46,6 @@ input_file = oslo.vmware/locale/oslo.vmware.pot
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = oslo.vmware/locale/oslo.vmware.pot
+
+[pbr]
+autodoc_index_modules = 1