auto-generate API documentation
Tell pbr to automatically generate the API documentation and remove the hand-curated file doing the same. Move the new API documentation section to a separate toctree to allow us to only show one level of nodes in the table of contents. Change-Id: I8edd36090688a607685d5708f99a78fd235defed
This commit is contained in:
parent
4c164868c4
commit
e265141db8
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,6 +41,7 @@ output/*/index.html
|
|||||||
|
|
||||||
# Sphinx
|
# Sphinx
|
||||||
doc/build
|
doc/build
|
||||||
|
/doc/source/api/
|
||||||
|
|
||||||
# pbr generates these
|
# pbr generates these
|
||||||
AUTHORS
|
AUTHORS
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
=====
|
|
||||||
API
|
|
||||||
=====
|
|
||||||
|
|
||||||
oslotest.base
|
|
||||||
=============
|
|
||||||
|
|
||||||
.. automodule:: oslotest.base
|
|
||||||
|
|
||||||
.. autoclass:: oslotest.base.BaseTestCase
|
|
||||||
:members:
|
|
||||||
|
|
||||||
oslotest.createfile
|
|
||||||
===================
|
|
||||||
|
|
||||||
.. automodule:: oslotest.createfile
|
|
||||||
:members:
|
|
||||||
:special-members:
|
|
||||||
|
|
||||||
oslotest.log
|
|
||||||
============
|
|
||||||
|
|
||||||
.. automodule:: oslotest.log
|
|
||||||
:members:
|
|
||||||
:special-members:
|
|
||||||
|
|
||||||
oslotest.mockpatch
|
|
||||||
==================
|
|
||||||
|
|
||||||
.. automodule:: oslotest.mockpatch
|
|
||||||
:members:
|
|
||||||
:special-members:
|
|
||||||
|
|
||||||
oslotest.moxstubout
|
|
||||||
===================
|
|
||||||
|
|
||||||
.. automodule:: oslotest.moxstubout
|
|
||||||
:members:
|
|
||||||
|
|
||||||
oslotest.output
|
|
||||||
===================
|
|
||||||
|
|
||||||
.. automodule:: oslotest.output
|
|
||||||
:members:
|
|
||||||
|
|
||||||
oslotest.timeout
|
|
||||||
================
|
|
||||||
|
|
||||||
.. automodule:: oslotest.timeout
|
|
||||||
:members:
|
|
||||||
:special-members:
|
|
@ -29,6 +29,7 @@ extensions = [
|
|||||||
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
||||||
# text edit cycles.
|
# text edit cycles.
|
||||||
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
||||||
|
modindex_common_prefix = ['oslotest.']
|
||||||
|
|
||||||
# The suffix of source filenames.
|
# The suffix of source filenames.
|
||||||
source_suffix = '.rst'
|
source_suffix = '.rst'
|
||||||
|
@ -10,7 +10,6 @@ Contents
|
|||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
installation
|
installation
|
||||||
api
|
|
||||||
testing
|
testing
|
||||||
features
|
features
|
||||||
cross-testing
|
cross-testing
|
||||||
@ -18,6 +17,14 @@ Contents
|
|||||||
contributing
|
contributing
|
||||||
history
|
history
|
||||||
|
|
||||||
|
API
|
||||||
|
===
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
api/autoindex
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user