Hi,
PhD 0.9.0 has been released! This version has the improvements of my GSoC
Project, and a lot of changes.
Now you can install the core of PhD and only install the packages you want,
you can use PhD to render your docbook files using the PhD_Generic package,
and write your own PhD Package.
Now, to run PhD you have to use the --package option, the -t (theme) option
was killed.
$ phd --docbook path/to/docs/.manual.xml --format xhtml --package PHP
To run your own docbook files you can skip the --package (so the Generic
package will be used):
$ phd --docbook path/to/my/doc/.docbook.xml --format bigxhtml
To see which packages and formats you have installed:
$ phd --list
Notes:
- Use namespaces (Moacir)
- Use PEAR classname conventions (Christian)
- Add support for dbhtml Process Instructions (PI) (Moacir)
- Add the --package option (Moacir)
- Add the Generic Package (Moacir)
- Add the phpdotnet/phd namespace (Christian)
- Kill themes and add a concept of "packages" (Moacir)
- Rewrite indexer (Hannes, Rudy, Moacir)
- Rewrite program flow (Hannes)
To upgrade from previous releases:
pear upgrade doc.php.net/phd-beta
To install for the first time:
If you are still using an old PEAR version you have to discover the channel
first by running:
pear channel-discover doc.php.net
If you have a recent PEAR version (1.7.0 or higher) you can skip the
discover step.
To install:
pear install doc.php.net/phd-beta
And you can install packages:
pear install doc.php.net/PhD_PHP-beta
pear install doc.php.net/PhD_PEAR-beta
To install everything:
pear install --alldeps doc.php.net/phd-beta
For PhD Documentation take a look at:
http://doc.php.net/phd/docs/
--Moacir