didou Fri Mar 12 05:17:04 2004 EDT
Modified files: /livedocs mkindex.php Log: add some instructions for peardoc http://cvs.php.net/diff.php/livedocs/mkindex.php?r1=1.18&r2=1.19&ty=u Index: livedocs/mkindex.php diff -u livedocs/mkindex.php:1.18 livedocs/mkindex.php:1.19 --- livedocs/mkindex.php:1.18 Mon Feb 23 12:35:30 2004 +++ livedocs/mkindex.php Fri Mar 12 05:17:01 2004 @@ -19,7 +19,7 @@ // | construct an index | // +----------------------------------------------------------------------+ // -// $Id: mkindex.php,v 1.18 2004/02/23 17:35:30 didou Exp $ +// $Id: mkindex.php,v 1.19 2004/03/12 10:17:01 didou Exp $ /* just to be on the safe side */ @@ -123,10 +123,10 @@ } } - +// not working for peardoc, you'll need to comment this code function build_func_list() { global $idx; - + $list = file_get_contents($GLOBALS['PHPDOC'] . DIRECTORY_SEPARATOR . "xsl/version.xml"); $x = preg_match_all('@<function name=([\'"])([a-zA-Z0-9_]+)\\1 from=([\'"])(.+)[EMAIL PROTECTED]', $list, $matches); $data = ''; @@ -499,6 +499,8 @@ // list of directories to index $parse_dirs = array('faq', 'reference', 'security', 'chapters', 'appendices'); +// For peardoc, uses this : +// $parse_dirs = array('authoring', 'chapters', 'core', 'guide', 'package', 'pecl'); $path = $PHPDOC . DIRECTORY_SEPARATOR . $LANG . DIRECTORY_SEPARATOR; sqlite_query($idx, 'BEGIN TRANSACTION');