Remove autodoc and useless index docs
* Remove autodoc sphinx extension * Ignore auto-generated 'api' docs * Prevent the corresponding 'api' index from being created * Prevent an empty 'index' page from getting generated Related to bp glance-folsom-docs-cleanup Change-Id: I82c9389f884ea4af853f1215731c051d1fb596e8
This commit is contained in:
parent
66c10d434a
commit
11a9a4847c
|
@ -42,8 +42,7 @@ sys.path = [os.path.abspath('../../glance'),
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = ['sphinx.ext.autodoc',
|
extensions = ['sphinx.ext.coverage',
|
||||||
'sphinx.ext.coverage',
|
|
||||||
'sphinx.ext.ifconfig',
|
'sphinx.ext.ifconfig',
|
||||||
'sphinx.ext.intersphinx',
|
'sphinx.ext.intersphinx',
|
||||||
'sphinx.ext.pngmath',
|
'sphinx.ext.pngmath',
|
||||||
|
@ -95,7 +94,7 @@ version = glance_version.canonical_version_string()
|
||||||
|
|
||||||
# List of directories, relative to source directory, that shouldn't be searched
|
# List of directories, relative to source directory, that shouldn't be searched
|
||||||
# for source files.
|
# for source files.
|
||||||
exclude_trees = []
|
exclude_trees = ['api']
|
||||||
|
|
||||||
# The reST default role (for this markup: `text`) to use for all documents.
|
# The reST default role (for this markup: `text`) to use for all documents.
|
||||||
#default_role = None
|
#default_role = None
|
||||||
|
@ -200,10 +199,10 @@ html_last_updated_fmt = os.popen(git_cmd).read()
|
||||||
#html_additional_pages = {}
|
#html_additional_pages = {}
|
||||||
|
|
||||||
# If false, no module index is generated.
|
# If false, no module index is generated.
|
||||||
#html_use_modindex = True
|
html_use_modindex = False
|
||||||
|
|
||||||
# If false, no index is generated.
|
# If false, no index is generated.
|
||||||
#html_use_index = True
|
html_use_index = False
|
||||||
|
|
||||||
# If true, the index is split into individual pages for each letter.
|
# If true, the index is split into individual pages for each letter.
|
||||||
#html_split_index = False
|
#html_split_index = False
|
||||||
|
|
Loading…
Reference in New Issue