Don't try to publish from www directory

The training-guides tox.ini was inherited from openstack-manuals
which merges static content from its www directory into its
publish-docs folder.

training-guides doesn't have a www directory -- it shares the static
content with openstack-manuals (they both publish into the same web
root).

Trying to copy files from a non-existent directory results in failure
which in turn prevents training-guides from publishing its manual.

This patch removes from tox.ini the commands that try to copy the
content of the www directory.

Closes-Bug: 1312764
Change-Id: I43f56523a7fe59d2d9ea92cabfcb4e926e751f6d
This commit is contained in:
Roger Luethi 2014-06-18 07:45:46 +02:00
parent 035922110c
commit 7e4f017f40

View File

@ -42,9 +42,6 @@ commands =
mkdir publish-docs
# We only publish changed manuals.
openstack-doc-test --check-build --publish
# Now publish www as well, we cannot do this from
# openstack-doc-test.
bash -c "cp -a www/* publish-docs/"
#[testenv:checklang]
# Generatedocbook needs xml2po which cannot be installed