Add tox docs target

This commit adds minimal configuration, similar to other OS projects,
required to build plugin guide via tox. This commit will be used as
basis for docs checking job.


Change-Id: If34d66056857ae8cae8bcad85e871e0f3ba48bd4
This commit is contained in:
Kirill Zaitsev 2016-09-05 14:18:26 +03:00 committed by Kirill Zaitsev
parent f6295ebfba
commit 340b016ce2
3 changed files with 12 additions and 0 deletions

4
.gitignore vendored
View File

@ -2,3 +2,7 @@
*.rpm
*.deb
deployment_scripts/modules/murano
AUTHORS
ChangeLog
docs/plugin_guide/build/

1
test-requirements.txt Normal file
View File

@ -0,0 +1 @@
sphinx!=1.3b1,<1.3,>=1.2.1 # BSD

7
tox.ini Normal file
View File

@ -0,0 +1,7 @@
[tox]
minversion = 2.0
skipsdist = True
[testenv:docs]
deps = -r{toxinidir}/test-requirements.txt
commands = sphinx-build -b html {toxinidir}/docs/plugin_guide/source {toxinidir}/docs/plugin_guide/build