Merge "doc: verify all rst files"

This commit is contained in:
Jenkins 2017-02-15 10:41:28 +00:00 committed by Gerrit Code Review
commit 3a705a94d3
5 changed files with 10 additions and 7 deletions

View File

@ -14,8 +14,8 @@ Tools
Sphinx
The Python Sphinx package is used to generate the documentation output.
Information on Sphinx, including formatting information for RST source
files, can be found in the `Sphinx online documentation
<http://www.sphinx-doc.org/en/stable/>`_.
files, can be found in the
`Sphinx online documentation <http://www.sphinx-doc.org/en/stable/>`_.
Graphviz
Some of the diagrams are generated using the ``dot`` language

View File

@ -60,10 +60,11 @@ will create the attachment and perform the update on the attachment to set the
connector info and return the connection data needed to make a connection.
The attachment_create call can be used in one of two ways:
1. Create an empty Attachment object (reserve)
attachment_create call. In this case the attachment_create call requires
an instance_uuid and a volume_uuid, and just creates an empty attachment
object and returns the UUID of said attachment to the caller.
1. Create an empty Attachment object (reserve) attachment_create call. In this
case the attachment_create call requires an instance_uuid and a volume_uuid,
and just creates an empty attachment object and returns the UUID of said
attachment to the caller.
2. Create and Complete the Attachment process in one call. The Reserve process
is only needed in certain cases, in many cases Nova actually has enough

View File

@ -1,7 +1,7 @@
Rally plugins
=============
All *.py modules from this directory will be auto-loaded by Rally and all
All ``*.py`` modules from this directory will be auto-loaded by Rally and all
plugins will be discoverable. There is no need of any extra configuration
and there is no difference between writing them here and in rally code base.

View File

@ -25,3 +25,4 @@ os-testr>=0.8.0 # Apache-2.0
tempest>=14.0.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
reno>=1.8.0 # Apache-2.0
doc8 # Apache-2.0

View File

@ -98,6 +98,7 @@ commands =
python setup.py build_sphinx
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
doc8 --ignore D001 --ignore-path .tox --ignore-path cinder.egg-info --ignore-path doc/src/api --ignore-path doc/source/drivers.rst --ignore-path doc/build -e txt -e rst
whitelist_externals = rm
[testenv:gendriverlist]