Add an ability to build docs using tox

It is possible to use "tox -edocs"

Change-Id: I427d78265e37aff256eecaf6d2fd12eb0a9a725e
This commit is contained in:
Nadya Privalova 2016-08-31 12:04:34 +03:00 committed by Nadya Shakhat
parent 7764e6c4fe
commit f828aa6b34
2 changed files with 10 additions and 6 deletions

View File

@ -22,7 +22,7 @@ Requirements
======================= ================
Requirements Version/Comment
======================= ================
MOS 9.0
Mirantis OpenStack 9.x
======================= ================
.. _limitations:
@ -32,10 +32,8 @@ Limitations
* Kafka supports authentication, encryption and authorization. Current version of the
plugin doesn't support any form of security, meaning that the Kafka cluster will be
“open” on the management network. We plan to support some level of security in future
versions of the plugin.
“open” on the management network.
* Kafka Plugin will not expose configuration properties for all the broker configuration parameters.
This means that the Kafka broker configuration set by the plugin will not be appropriate for every
usage. In the future, we may make the Fuel plugin more configurable by adding new configuration
properties.
usage.

View File

@ -1,5 +1,5 @@
[tox]
envlist = manifests,build_plugin
envlist = manifests,build_plugin,docs
skipsdist = True
[testenv]
@ -17,6 +17,12 @@ commands =
bundle install --path {toxinidir}/.bundled_gems
bundle exec rake test
[testenv:docs]
changedir = {toxinidir}/docs
whitelist_externals = make
commands =
make clean html SPHINXOPTS=-W
[testenv:build_plugin]
changedir = {toxinidir}
whitelist_externals =