1
0
mirror of https://github.com/php/phd.git synced 2026-03-23 22:52:05 +01:00

Include instructions on how to run PhD from the Git checkout

This commit is contained in:
Derick Rethans
2023-03-23 15:50:31 +00:00
parent 862833e266
commit 7e59e4eb6a

9
README
View File

@@ -24,6 +24,15 @@ Installing the PhD renderer:
To install the standalone Packages:
for i in package_*.xml; do pear install $i; done
Running from the source, assuming that the PHP documentation tree is at
dev/php/phpdoc/doc-base and dev/php/phpdoc/en:
cd dev/php
git clone https://github.com/php/phd.git
cd phpdoc
php doc-base/configure.php --disable-segfault-error
php ../phd/render.php --docbook doc-base/.manual.xml --output=/tmp/docs --package PHP --format xhtml
Requirements:
- PHP 7.1
- DOM, libXML2, XMLReader and SQLite3.