Re: Re: Untranslated files

From: Date: Fri, 20 Feb 2004 18:35:40 +0000
Subject: Re: Re: Untranslated files
References: 1 2 3  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2619@lists.php.net to get a copy of this message
Hi Dan, As far as I know, you're the only person using <kbd> and <samp> in docblocks, so there isn't exactly a large test pool :). the handling of <programlisting> is a bit annoying in peardoc, I will probably take some time to properly handle the highlighting of programlisting role="php-highlighted" so that it looks nice and is cut-and-pasteable. What it does have is links to documentation from each function, something the normal role="php" can't do. I'm all for suggestions, but if you want to see them implemented, the best path is to provide patches. Otherwise chances are you will see my priorities implemented, and others fall by the wayside. Incidentally, you can modify the translation of docblock tags without touching any code, just modify the entry in options.ini. Greg Daniel Convissor wrote:
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


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