mirror of
https://github.com/php/web-doc.git
synced 2025-08-13 14:40:31 +00:00
19 lines
543 B
Bash
Executable File
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/
|