Re: How to write documentation ?

From: Date: Mon, 24 Mar 2003 17:11:53 +0000
Subject: Re: How to write documentation ?
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-513@lists.php.net to get a copy of this message
El Lun 24 Mar 2003 12:37, Bertrand Mansion escribió: > Hi, > > I would like to write documentation for the new Config class in PEAR. ... > I don't want to rewrite everything from scratch, I would like to know if > there is an easy way to get all this information I've already typed into > peardoc structured files with xml tags and directory structure setup > correctly. - Get PHPDocumentor. Last version from cvs seems to be working pretty well by now (there is still a bug documenting constants though). - Get peardoc2 from cvs (it's now on peardoc) - Install openjade (if you don't have it already). - Create an ini file in user/ (there is an example ini file testdocbook.ini) with options: pear=on output=XML:DocBook/peardoc2:default - Run phpdocumentor: ./phpdoc -c yourfile - Add into your_peardoc2_path/en/package/your_category/your_package.xml entries for any introductions/tutorials you might have. Add those introductions/tutorials as docbook files. - Run peardoc2: buildconf ./configure make - Voila. If I missed some step, could someone please correct me? Xavier

« previous php.pear.doc (#513) next »