Re: fast build for manual chapter
| From: | Hannes Magnusson | Date: | Wed, 15 Aug 2007 22:48:13 +0000 |
| Subject: | Re: fast build for manual chapter | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377362@lists.php.net to get a copy of this message | ||
On 8/16/07, Stanislav Malyshev <stas@zend.com> wrote:
> > (Pimping out PhD again; ) PhD uses only few mbs (don't recall the
> > exact number, its less than 30mb at least) :)
>
> Tried using phd, but got this:
>
> Parse error: syntax error, unexpected T_SL in
> /root/phd/setup/setup.messages.php on line 21
>
> Like 21 looks like this:
> const USAGE = <<<~MESSAGE
>
> I didn't know PHP supports such syntax, is this some kind of private patch?
Yes.
The patch is available at
http://phpdoc.gwynne.dyndns.org/nowdocs/PHP_5_2.patch
(or should,
seems like her server is down at the moment).
Currently the setup only creates the config file:
<?php
$OPTIONS = array (
'output_format' => array('xhtml'),
'output_theme' => array(
'xhtml' => array(
'php' => array(
'phpweb',
'chunkedhtml',
'bightml',
),
),
),
'index' => true,
'xml_root' => '/home/bjori/php/doc',
'language' => 'en',
'fallback_language' => 'en',
'enforce_revisions' => false,
'compatibility_mode' => true,
'build_log_file' => 'none',
'debug' => true,
);
?>
This is mine, you can save it (substituting /home/bjori/php/doc with
the location of your phpdoc checkout) as "config.php" and put it in
the root dir (same directory as build.php).
Note: you still need to "make .manual.xml" in your phpdoc dir.
Gwynne is working on completely removing the phpdoc configure and make steps.
Also, sometime tomorrow I will commit a patch fixing the
"next/previous page" which is dependent on the patch from
http://news.php.net/php.internals/31583
Both of these dependencies will of course be removed if they don't
make it into PHP5.3.0
-Hannes