add auto-generated api documentation

Change-Id: I1e2f89a1bacdaa22a82b058f7a44966ec42b935b
This commit is contained in:
Doug Hellmann 2015-09-25 16:39:46 +00:00 committed by Davanum Srinivas
parent 118d4b1c43
commit 13d6302546
5 changed files with 17 additions and 13 deletions

1
.gitignore vendored
View File

@ -46,6 +46,7 @@ doc/build
# pbr generates these
AUTHORS
ChangeLog
/doc/source/api/
# Editors
*~

View File

@ -1,12 +0,0 @@
=====
API
=====
.. Use autodoc directives to describe the *public* modules and classes
in the library.
If the modules are completely unrelated, create an api subdirectory
and use a separate file for each (see oslo.utils).
If there is only one submodule, a single api.rst file like this
sufficient (see oslo.i18n).

View File

@ -51,6 +51,9 @@ add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
modindex_common_prefix = ['oslo_reports.']
# -- Options for HTML output --------------------------------------------------
# The theme to use for HTML and HTML Help pages. Major themes that come with

View File

@ -11,11 +11,18 @@ Contents
:maxdepth: 2
installation
api
usage
opts
contributing
API
===
.. toctree::
:maxdepth: 2
api/autoindex
Release Notes
=============

View File

@ -26,6 +26,11 @@ packages =
[pbr]
warnerrors = true
autodoc_index_modules = true
autodoc_exclude_modules =
oslo_reports._i18n
oslo_reports._utils
oslo_reports.tests.*
[entry_points]
oslo.config.opts =