Fix the module index link in the docs
Since we weren't autodoc'ing the modules during the docs build, the module index link was broken. This generates the module docs (but hides them from the main top-level table of contents) so they can be accessed via the 'Module Index' link. Also cleans up some docs issues so that warnerrors=True works during sphinx-build. Closes-Bug: #1472642 Change-Id: I5a3a16d1e81b12237452d5a3a3f7f0cc42618e88
This commit is contained in:
parent
a2e79fdb6d
commit
9f44f79a2d
|
@ -43,6 +43,7 @@ output/*/index.html
|
|||
|
||||
# Sphinx
|
||||
doc/build
|
||||
doc/source/api/*
|
||||
|
||||
# pbr generates these
|
||||
AUTHORS
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
============
|
||||
Contributing
|
||||
============
|
||||
|
||||
If you would like to contribute to the development of OpenStack,
|
||||
you must follow the steps in this page:
|
||||
|
||||
|
|
|
@ -16,6 +16,14 @@ Contents:
|
|||
usage
|
||||
contributing
|
||||
|
||||
.. # NOTE(mriedem): This is where we hide things that we don't want shown in
|
||||
# the top level table of contents. api/autoindex is hidden since it's in
|
||||
# the modindex link below.
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
api/autoindex
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
|
|
|
@ -75,9 +75,12 @@ class ResultSet(list):
|
|||
natural.
|
||||
|
||||
For instance:
|
||||
results = se.search(...)
|
||||
for hit in results:
|
||||
print hit.build_status
|
||||
|
||||
::
|
||||
|
||||
results = se.search(...)
|
||||
for hit in results:
|
||||
print hit.build_status
|
||||
|
||||
This greatly simplifies code that is interacting with search results, and
|
||||
allows us to handle some schema instability with elasticsearch, through
|
||||
|
|
Loading…
Reference in New Issue