Re: cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid fill.xml

From: Date: Fri, 30 Jun 2006 13:58:07 +0000
Subject: Re: cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid fill.xml
References: 1 2  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8106@lists.php.net to get a copy of this message
Daniel Convissor wrote: > Hi Olivier: > > On Thu, Jun 29, 2006 at 10:43:58PM -0000, Olivier Guilyardi wrote: > >>olivierg Thu Jun 29 22:43:58 2006 UTC >> >> Modified files: >> /peardoc/en/package/structures/structures-datagrid/structures-datagrid >> fill.xml >> Log: >> fix Request #7969 'Documentation for using my own form container' > > ... > >> </example></para> >>+ <para><example><title>Fill a form with sort >>fields</title><programlisting role="php-highlighted">1 &lt;?php >>+2 require_once &apos;HTML/QuickForm.php&apos;; >>+3 > > > > Thanks SOOO much for improving the documentation. This commit raises > several issues. > > First, don't number the lines. Second, <example> doesn't need to be in > should be justified left, not nested. Fifth, put sample code between > <![CDATA[ ...sample... ]]> tags -- obviating the need to escape the > sample (> can be used instead of &gt;). Sixth, the "role" attribute > should be just "php," not php-highlighted. This addresses a deficiency in docbook, which does not allow source code with links to documentation, something that is a very nice thing to have. If you do role="php", the stupid thing converts all tags into HTML entities. phpDocumentor has done this for about 3 years, Dan. Perhaps we're being a bit too anal retentive? > a <para>. Third, nest the XML nicely, please. Fourth, the example code Olivier, you can fix this by installing XML_Beautifier and re-generating. Greg

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