Re: Step-by-step introduction to PearDoc
| From: | David Costa | Date: | Wed, 14 Apr 2004 13:47:08 +0000 |
| Subject: | Re: Step-by-step introduction to PearDoc | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-3419@lists.php.net to get a copy of this message | ||
On Apr 14, 2004, at 3:11 PM, Alexander Wirtz wrote:
Hi, I've just tried to add the PHPDocumentor-generated API documentation to he Pear manual and it wasn't A Very Good Idea [tm]. (I've removed it from the manual-tree) To be honest, I have nothing against documenting an API, that's my obligation as a developer, but I'm not very much into detailed introduction/synopsis/blahblah, so what I want to do is mark up my code with PHPDoc, run PHPDocumentor, upload it into CVS and be done with it.then you really need to add the comments the right way. With the majority of package I tried the outcome is an incomplete API aka you need to manually add description on each function.
Thanks to Jesus I now know the essential steps to work with PHPDocumentor, but the main step from XML:DocBook/peardoc2:default to CVS is missing IMHO.I think the rest is validating changes http://www.php.net/manual/howto/ if you have errors locally whilst validating changes you should not commit
I saw the pointers to http://cvs.php.net/cvs.php/peardoc/en/authoring/ and http://cvs.php.net/co.php/peardoc/en/guide/developers/documentation.xml but this isn't good enough, I'd suggest offering a small tar with all the needed files for authoring the documentation for a package, a "skel", so to say. from PHP Documentor skel the rest is here http://www.php.net/manual/howto/
Once more, I'm not a lazy person, but I want a process that's as painless as possible.Do you have some sort of docs on your site or elsewhere ?
Kind regards, Alexander --PEAR Documentation List Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php