Files
php-web-doc/cron/weekly/phd-guide
2016-12-11 10:02:52 +01:00

19 lines
543 B
Bash
Executable File

#!/bin/sh/
# This task renders PhD's guide and places it on /phd/docs/
#
# Globally installed `phd` is not used yet, because valid
# renderer is available only in master version at the moment.
#
# This will be simplified after next PhD release, but ${PHDDIR}
# will still be needed for getting latest sources for the Guide.
. `dirname $0`/../../build-ops
cd ${DOCWEB}/www/phd/
${PHP} ${PHDDIR}/render.php -d ${PHDDIR}/docs/phd-guide/phd-guide.xml --package PHP --format howto --output docs
mv docs/php-howto/* docs/
rm -r docs/php-howto/