Re: Re: Untranslated files

From: Date: Fri, 20 Feb 2004 18:12:34 +0000
Subject: Re: Re: Untranslated files
References: 1 2  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2617@lists.php.net to get a copy of this message
Hi Folks: On Fri, Feb 20, 2004 at 06:51:41PM +0100, Stefan Neufeind wrote: > > And since with current phpDocumentor this actually works correct now > docs can be generated in a breeze. The XML output by phpDocumentor could be better, though. The stuff in <code> gets line numbers put in (making it hard for people reading the docs who want to copy and paste the examples) and is passed through htmlentities() and popped between <para> tags, rather than becoming CDATA in an <example>. Then <kbd> gets translated to <screen>, which when transformed into the built HTML documentation creates linebreaks. Conversion to <userinput> would be better, though I don't know what that would look like once transformed. I know <literal> definitely works. Similarly, <samp> gets mapped to <example>, which is a whole different ball of wax. <computeroutput> is really what it should become. My last gripe is the XML that comes out is hard to read. A pass through a tidy utility could help, I guess. Don't get me wrong, I love phpDocumentor. These are just suggestions to make it even better. Enjoy, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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