Allow building of localized Sec and HA manuals
Create a "buildlan-misc" target in tox to build Security Guide and High Availability Guide. Change-Id: I7ff46db354570e9f6b29e6a09237e903c599425a
This commit is contained in:
parent
9d479a4ae1
commit
e9594f32f5
18
tox.ini
18
tox.ini
@ -46,3 +46,21 @@ commands =
|
||||
# Thus replaced by the next one:
|
||||
bash ./tools/copy_pom {posargs}
|
||||
openstack-doc-test --check-build -l {posargs} --only-book install-guide --nocreate-index
|
||||
|
||||
[testenv:buildlang-misc]
|
||||
# Run as "tox -e buildlang-misc -- $LANG"
|
||||
# Generatedocbook needs xml2po which cannot be installed
|
||||
# in the venv. Since it's installed in the system, let's
|
||||
# use sitepackages.
|
||||
sitepackages=True
|
||||
whitelist_externals = bash
|
||||
commands =
|
||||
openstack-generate-docbook -l {posargs} -b common
|
||||
openstack-generate-docbook -l {posargs} -b glossary
|
||||
openstack-generate-docbook -l {posargs} -b security-guide
|
||||
openstack-generate-docbook -l {posargs} -b high-availability-guide
|
||||
# tox 1.7 does not parse the following line:
|
||||
# cp doc/pom.xml generated/{posargs}/pom.xml
|
||||
# Thus replaced by the next one:
|
||||
bash ./tools/copy_pom {posargs}
|
||||
openstack-doc-test --check-build -l {posargs} --only-book security-guide --only-book high-availability-guide --nocreate-index
|
||||
|
Loading…
Reference in New Issue
Block a user