com web/doc: Build latest PhD's guide using PHP/HowTo format: README.md build-ops-sample cron/weekly/phd-guide

[email protected] (Maciej Sobaczewski) Sun, 11 Dec 2016 07:51:54 +0000
Newsgroups php.doc.web
Message-ID <[email protected]>
Commit:    df31ed0e7e0c6cc8411dac7025d06b681b84e9e4=0AAuthor:    Sobak <mso=
[email protected]>         Sun, 11 Dec 2016 08:51:54 +0100=0AParents:   a=
663390dfc2db9acbae2d330476d96e5c756b0d6=0ABranches:  master=0A=0ALink:     =
  http://git.php.net/?p=3Dweb/doc.git;a=3Dcommitdiff;h=3Ddf31ed0e7e0c6cc841=
1dac7025d06b681b84e9e4=0A=0ALog:=0ABuild latest PhD's guide using PHP/HowTo=
 format=0A=0AIt was unused anyway after switching docs' howto to Markdown,=
=0Aso I thought it can be still utilized for PhD's Guide itself.=0A=0AChang=
ed paths:=0A  M  README.md=0A  M  build-ops-sample=0A  A  cron/weekly/phd-g=
uide=0A=0A=0ADiff:=0Adiff --git a/README.md b/README.md=0Aindex 983a158..89=
5dc9d 100644=0A--- a/README.md=0A+++ b/README.md=0A@@ -21,6 +21,7 @@ Requir=
ements:=0A =09=09- `@SVNDIR@` - absolute path to dir where scripts will clo=
ne SVN repos to and then use them and then use it for generating data=0A =
=09=09- `@DOCDIR@` - relative path to the directory with documentation in S=
VN repo=0A =09=09- `@DOCWEB@` - absolute path to directory with this websit=
e=0A+=09=09- `@PHDDIR@` - absolute path to directory with PhD installed fro=
m Git master=0A =09=09- `@SCRIPTSDIR@`- absolute path to `/scripts/` direct=
ory=0A =09=09- `@SRCDIR@` - path to the directory with PHP source code in S=
VN repo=0A 5. Configure the virtual host under Apache. Current suggested se=
ttings are:=0Adiff --git a/build-ops-sample b/build-ops-sample=0Aindex 9a8c=
4cd..ca8e456 100644=0A--- a/build-ops-sample=0A+++ b/build-ops-sample=0A@@ =
-5,6 +5,7 @@ PHP=3D@PHP@=0A SVNDIR=3D@SVNDIR@=0A DOCDIR=3D@DOCDIR@=0A DOCWE=
B=3D@DOCWEB@=0A+PHDDIR=3D@PHDDIR@=0A SCRIPTSDIR=3D@SCRIPTSDIR@=0A SQLITEDIR=
=3D@SQLITEDIR@=0A-SRCDIR=3D@SRCDIR@=0A\ No newline at end of file=0A+SRCDIR=
=3D@SRCDIR@=0Adiff --git a/cron/weekly/phd-guide b/cron/weekly/phd-guide=0A=
new file mode 100644=0Aindex 0000000..064e6f2=0A--- /dev/null=0A+++ b/cron/=
weekly/phd-guide=0A@@ -0,0 +1,18 @@=0A+#!/bin/sh/=0A+=0A+# This task render=
s PhD's guide and places it on /phd/docs/=0A+#=0A+# Globally installed `phd=
` is not used yet, because valid=0A+# renderer is available only in master =
version at the moment.=0A+#=0A+# This will be simplified after next PhD rel=
ease, but ${PHDDIR}=0A+# will still be needed for getting latest sources fo=
r the Guide.=0A+=0A+. `dirname $0`/../../build-ops=0A+=0A+cd ${DOCWEB}/www/=
phd/=0A+=0A+${PHP} ${PHDDIR}/render.php -d ${PHDDIR}/docs/phd-guide/phd-gui=
de.xml --package$=0A+=0A+mv docs2/php-howto/* docs2/=0A+rm -r docs2/php-how=
to/=0A