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.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 15feefce..f64921bb 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -4,6 +4,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.viewcode',
+ 'sphinxcontrib.apidoc',
'openstackdocstheme',
]
@@ -36,6 +37,14 @@ add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'native'
+# sphinxcontrib.apidoc options
+apidoc_module_dir = '../../ironic_python_agent'
+apidoc_output_dir = 'contributor/api'
+apidoc_excluded_paths = [
+ 'tests',
+]
+apidoc_separate_modules = True
+
# -- Options for HTML output --------------------------------------------------