diff options
Diffstat (limited to 'doc/source/conf.py')
-rwxr-xr-x | doc/source/conf.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 48810a4..f9726a3 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -18,8 +18,8 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ - 'sphinx.ext.autodoc', 'openstackdocstheme', + 'sphinxcontrib.apidoc', ] modindex_common_prefix = ['oslotest.'] @@ -48,13 +48,17 @@ pygments_style = 'sphinx' # Sphinx are currently 'default' and 'sphinxdoc'. html_theme = 'openstackdocs' -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -html_last_updated_fmt = '%Y-%m-%d %H:%M' - # -- openstackdocstheme configuration ---------------------------------------- repository_name = 'openstack/oslotest' bug_project = 'oslotest' bug_tag = '' + +# sphinxcontrib.apidoc options +apidoc_module_dir = '../../oslotest' +apidoc_output_dir = 'reference/api' +apidoc_excluded_paths = [ + 'tests/*', + 'tests'] +apidoc_separate_modules = True |