Skip to content
doc for yaf
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
en
zh
README.md

README.md

###Yaf Document

###How to build

####Requirement

  1. PHP-5.3+
  2. PHD
 $ sudo pear install doc.php.net/PhD
 $ sudo pear install doc.php.net/PhD_Generic 
 $ sudo pear install doc.php.net/PhD_PHP
 $ phd --help

####English Manual #####Checkout PHP doc tree

 $ mkdir /tmp/svn
 $ cd /tmp/svn
 $ svn co https://svn.php.net/repository/phpdoc/modules/doc-en doc-en
 $ cd /tmp/svn/doc-en

#####Yaf doc

Yaf documents could be found under doc-en/en/reference/yaf

#####Build Yaf doc

$ /path-to-php/bin/php -n -d memory_limit=2G doc-base/configure.php --with-php=/path-to-php/bin/php --enable-xml-details
$ /path-to-ph/bin/phd -d doc-base/.manual.xml --format=php --package=PHP --partial=book.yaf

if no errros are reported, then you can find the output under doc-en/output

####Chinese Manual

#####Checkout PHP doc tree

 $ mkdir /tmp/svn
 $ cd /tmp/svn
 $ svn co https://svn.php.net/repository/phpdoc/modules/doc-zh doc-zh
 $ cd /tmp/svn/doc-zh

#####Yaf doc

Yaf documents could be found under doc-zh/zh/reference/yaf

#####Build Yaf doc

$ /path-to-php/bin/php -n -d memory_limit=2G doc-base/configure.php --with-php=/path-to-php/bin/php --enable-xml-details
$ /path-to-ph/bin/phd -d doc-base/.manual.xml --format=php --package=PHP --partial=book.yaf

if no errros are reported, then you can find the output under doc-zh/output

####Setup a local php.net mirror

You can’t perform that action at this time.