# php-yaf-doc **Repository Path**: grug/php-yaf-doc ## Basic Information - **Project Name**: php-yaf-doc - **Description**: doc for yaf - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-01-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ###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