Skip to content

Commit 8732383

Browse files
committed
Build PhD docs on svn2
1 parent 52cdabd commit 8732383

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

boxen/svn2.php.net

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
export CONTINENT="us"
66

77
MINUTELY=""
8-
HOURLY="update-systems update-gtkweb update-peopleweb update-talksweb update-docweb update-docs-sources update-docs-translation-status"
8+
HOURLY="update-systems update-gtkweb update-peopleweb update-talksweb update-docweb update-docs-sources update-docs-translation-status update-phd-docs"
99
DAILY="update-time backup-thisbox prune-backups"
1010
WEEKLY=""
1111
MONTHLY=""

update-docweb

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/sh
22

33
rsync -qavz --timeout=600 --delete --delete-after \
4-
--exclude include/jpgraph --exclude sqlite --exclude www/images/revcheck \
4+
--exclude include/jpgraph --exclude sqlite \
5+
--exclude www/images/revcheck --exclude www/phd/docs \
56
rsync.php.net::docweb /local/Web/sites/doc.php.net
67
# make sure directories for generated content exist
78
mkdir -p /local/Web/sites/doc.php.net/sqlite
89
mkdir -p /local/Web/sites/doc.php.net/www/images/revcheck
10+
mkdir -p /local/Web/sites/doc.php.net/www/phd/docs

update-phd-docs

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,11 @@
22
#
33
# build the phd docs using phd itself. inception.
44

5-
/bin/php81 /local/src/phd/render.php --docbook '/local/src/phd/docs/phd-guide/phd-guide.xml' --output '/local/Web/sites/doc.php.net/www/phd/docs/' --format 'bigxhtml' --outputfilename 'index.html' --verbose 0
5+
cd /local/src/phpdoc/phd
6+
7+
php render.php \
8+
--docbook docs/phd-guide/phd-guide.xml \
9+
--output '/local/Web/sites/doc.php.net/www/phd/docs/' \
10+
--format 'bigxhtml' \
11+
--outputfilename 'index.html' \
12+
--verbose 0

0 commit comments

Comments
 (0)