Fix checkbuild index
Fix a problem with the move to publishdocs where the web pages were copied to the wrong location for checkbuild. We previously copied these differently for checking and publishing and need to do this again. Change-Id: Ibb95a3a15e76913efff52f44eacb8a23c20768f7
This commit is contained in:
parent
b72377e05c
commit
e51c5c9d41
@ -50,9 +50,18 @@ done
|
||||
|
||||
# Build the www pages so that openstack-doc-test creates a link to
|
||||
# www/www-index.html.
|
||||
python tools/www-generator.py --source-directory www/ --output-directory publish-docs/
|
||||
rsync -a www/static/ publish-docs/
|
||||
if [ "$PUBLISH" = "build" ] ; then
|
||||
python tools/www-generator.py --source-directory www/ \
|
||||
--output-directory publish-docs/www/
|
||||
rsync -a www/static/ publish-docs/www/
|
||||
# publish-docs/www-index.html is the trigger for openstack-doc-test
|
||||
# to include the file.
|
||||
mv publish-docs/www/www-index.html publish-docs/www-index.html
|
||||
fi
|
||||
if [ "$PUBLISH" = "publish" ] ; then
|
||||
python tools/www-generator.py --source-directory www/ \
|
||||
--output-directory publish-docs
|
||||
rsync -a www/static/ publish-docs/
|
||||
# Don't publish this file
|
||||
rm publish-docs/www-index.html
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user