1d08a657f6
We don't have different content for build and publish, so can cleanup our scripts and remove any special handling. Remove also usage of www-index.html. Change-Id: If1a9d9a2dddbf7cdf9fd4c01d22530f2cd181907
17 lines
391 B
Bash
Executable File
17 lines
391 B
Bash
Executable File
#!/bin/bash -xe
|
|
|
|
if [[ -d publish-docs/html/www/ ]]; then
|
|
output=publish-docs/html/www
|
|
else
|
|
output=publish-docs/html/
|
|
fi
|
|
|
|
.tox/publishdocs/bin/python tools/www-generator.py --verbose --source-directory www/ \
|
|
--output-directory $output $@
|
|
|
|
if [[ $? -eq 0 ]]; then
|
|
rsync -a www/static/ $output
|
|
fi
|
|
|
|
.tox/publishdocs/bin/whereto $output/.htaccess $output/redirect-tests.txt
|