summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index f904f7f..a9a2e79 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -49,6 +49,7 @@ extensions = [
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'openstackdocstheme',
+ 'sphinxcontrib.apidoc',
]
# openstackdocstheme options
@@ -130,3 +131,10 @@ texinfo_documents = [
'Miscellaneous'
),
]
+
+apidoc_output_dir = 'contributor/modules'
+apidoc_module_dir = '../../osprofiler'
+apidoc_excluded_paths = [
+ 'hacking',
+ 'tests',
+]