Disable auto-generate API docs

First, the autodoc build is failing. Second, zun-ui is a horizon
plugin so auto-generated api docs don't seem to have much value.
This commit removes autodoc extension which basically stops
auto-generated API docs.

Change-Id: I3687a2b46fa524bb902bf8031c4d77945fb0c216
Closes-Bug: #1849990
This commit is contained in:
Hongbin Lu 2019-10-26 20:32:00 +00:00
parent 2583d574d2
commit a2d9d35b3b
3 changed files with 0 additions and 25 deletions

View File

@ -61,7 +61,6 @@ django.setup()
extensions = ['sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'sphinxcontrib.apidoc',
'openstackdocstheme',
]
@ -128,13 +127,6 @@ pygments_style = 'sphinx'
primary_domain = 'py'
nitpicky = False
# sphinxcontrib-apidoc
apidoc_module_dir = '../../zun_ui'
apidoc_output_dir = 'contributor/api'
apidoc_excluded_paths = [
'test',
]
# -- Options for HTML output --------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for

View File

@ -1,9 +0,0 @@
=====================
Source Code Reference
=====================
.. toctree::
:maxdepth: 1
:glob:
api/*

View File

@ -7,11 +7,3 @@ There is no topic specific to Zun UI now.
See `Horizon Contributor Documentation
<https://docs.openstack.org/horizon/latest/contributor/index.html>`__
for general topic on developing a dashboard on horizon.
----
.. toctree::
:glob:
:maxdepth: 1
api