iliaa Thu Jul 7 11:17:59 2005 EDT
Modified files: /livedocs livedoc.php Log: More PEAR fixes by Alan. http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.111&r2=1.112&ty=u Index: livedocs/livedoc.php diff -u livedocs/livedoc.php:1.111 livedocs/livedoc.php:1.112 --- livedocs/livedoc.php:1.111 Mon Jun 20 21:52:58 2005 +++ livedocs/livedoc.php Thu Jul 7 11:17:57 2005 @@ -18,7 +18,7 @@ // | Generate an HTML version of a phpdoc/docbook page on the fly | // +----------------------------------------------------------------------+ // -// $Id: livedoc.php,v 1.111 2005/06/21 01:52:58 iliaa Exp $ +// $Id: livedoc.php,v 1.112 2005/07/07 15:17:57 iliaa Exp $ define('LIVEDOC_SOURCE', dirname(__FILE__)); include LIVEDOC_SOURCE . '/livedoc_funcs.php'; @@ -63,6 +63,18 @@ case 'language.variables': return 'handle_appendixes'; case 'manual': return 'handle_contents'; } + } elseif (BUILD_TYPE == 'peardoc') { + switch($key) { + case 'manual': + case 'guide': return 'handle_contents'; + case 'guide-newmaint': + case 'guide-developers': + case 'guide-migrating': + case 'core': + case 'packages': + case 'pecl': + case 'about-pear': return 'handle_appendixes'; + } } elseif (BUILD_TYPE == 'phpdoc') { switch($key) { case 'api': return 'streams';