Create tox jobs for translated manual

Create new job for building of translated manual.
The job needs version 0.5 of openstack-doc-tools to support the "-l"
flag.

Change-Id: Ic898d364650a6f3e2aac2fa13af779627bd53883
This commit is contained in:
Andreas Jaeger 2014-02-04 20:53:52 +01:00
parent c8b74cefd9
commit ad92297e4b
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
target/
bk-ha-guide.xml
publish-docs/
generated/
# Ignore Vagrant Related Files
acceptance_config.yml

11
tox.ini
View File

@ -25,3 +25,14 @@ commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-
[testenv:checkbuild]
commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-build {posargs}
[testenv:buildlang]
# Run as "tox -e buildlang -- $LANG"
commands =
generatedocbook -l {posargs} -b common
generatedocbook -l {posargs} -b glossary
generatedocbook -l {posargs} -b user-guide
generatedocbook -l {posargs} -b install-guide
cp doc/pom.xml generated/{posargs}/pom.xml
openstack-doc-test --check-build -l {posargs} --only-book install-guide