From f828aa6b346e3b200520921a75ab3f404008f5bd Mon Sep 17 00:00:00 2001 From: Nadya Privalova Date: Wed, 31 Aug 2016 12:04:34 +0300 Subject: [PATCH] Add an ability to build docs using tox It is possible to use "tox -edocs" Change-Id: I427d78265e37aff256eecaf6d2fd12eb0a9a725e --- docs/source/description.rst | 8 +++----- tox.ini | 8 +++++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/source/description.rst b/docs/source/description.rst index 5a8f1ca..3aea7a9 100644 --- a/docs/source/description.rst +++ b/docs/source/description.rst @@ -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. diff --git a/tox.ini b/tox.ini index df4b9b1..68da485 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =