Remove apidoc
Now there are some errors when running apidoc, actually we don't need apidoc, so remove it. Closes-Bug: #1831515 Change-Id: I3b91a2c05ed62ae7bbd30a29e9db51d0e021410f
This commit is contained in:
@@ -32,7 +32,6 @@ sys.path.insert(0, os.path.abspath('./'))
|
|||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = [
|
extensions = [
|
||||||
'oslo_config.sphinxext',
|
'oslo_config.sphinxext',
|
||||||
'sphinxcontrib.apidoc',
|
|
||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
'sphinxcontrib.httpdomain',
|
'sphinxcontrib.httpdomain',
|
||||||
'sphinxcontrib.pecanwsme.rest',
|
'sphinxcontrib.pecanwsme.rest',
|
||||||
@@ -51,22 +50,6 @@ config_generator_config_file = [(
|
|||||||
'_static/watcher')]
|
'_static/watcher')]
|
||||||
sample_config_basename = 'watcher'
|
sample_config_basename = 'watcher'
|
||||||
|
|
||||||
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
|
||||||
# text edit cycles.
|
|
||||||
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
|
||||||
|
|
||||||
# sphinxcontrib.apidoc options
|
|
||||||
apidoc_module_dir = '../../watcher'
|
|
||||||
apidoc_output_dir = 'api'
|
|
||||||
apidoc_excluded_paths = [
|
|
||||||
'tests/*',
|
|
||||||
'db',
|
|
||||||
'decision_engine',
|
|
||||||
'doc',
|
|
||||||
'objects',
|
|
||||||
]
|
|
||||||
apidoc_separate_modules = True
|
|
||||||
|
|
||||||
# The suffix of source filenames.
|
# The suffix of source filenames.
|
||||||
source_suffix = '.rst'
|
source_suffix = '.rst'
|
||||||
|
|
||||||
|
|||||||
@@ -111,15 +111,6 @@ Watcher Manual Pages
|
|||||||
|
|
||||||
man/index
|
man/index
|
||||||
|
|
||||||
.. # NOTE(mriedem): This is the section where we hide things that we don't
|
|
||||||
# actually want in the table of contents but sphinx build would fail if
|
|
||||||
# they aren't in the toctree somewhere. For example, we hide api/autoindex
|
|
||||||
# since that's already covered with modindex below.
|
|
||||||
.. toctree::
|
|
||||||
:hidden:
|
|
||||||
|
|
||||||
api/modules
|
|
||||||
|
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
==================
|
==================
|
||||||
|
|||||||
Reference in New Issue
Block a user