Re: PEAR web enhancements
| From: | Greg Beaver | Date: | Sun, 10 Aug 2003 18:34:39 +0000 |
| Subject: | Re: PEAR web enhancements | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-441@lists.php.net to get a copy of this message | ||
Hi Tomas,
Tomas V.V.Cox wrote:
Some ideas that would be nice to have in the pear web: 1) API doc publishing. From each php package release, the website will generate and make avaible it's API doc with PHPDocumentor.This is a good idea. There are some possible issues with generating API docs that are not impossible to resolve. The first is dependencies will not be cross-linked unless they are parsed at the same time. Parsing all of PEAR at once is not a good idea on a web server, so that's out :). It takes between 1-7 hours depending on the processor speed. One solution I can see would be writing an extension to phpDocumentor that reads files directly from the archive and determines whether to parse them based on the role (only role="php" should be parsed), and also reads the <deps> tag, and parses the pkg dependencies. This solution has the problem of severe redundancy. If several packages depend on another, there will be lots of duplicate docs for that package, and the only way to fix that is by hand. Another solution is in phpDocumentor 2.0 - we'll be doing makefile-like dependencies, and so caching parsed data and only re-generating output for changed files. Any preference on what to do here to make it practical? How much disk space is available at pear.php.net? Greg