Re: svn: /phpdoc/doc-base/trunk/RFC/ coding_standards
| From: | Hannes Magnusson | Date: | Sun, 25 Apr 2010 07:58:34 +0000 |
| Subject: | Re: svn: /phpdoc/doc-base/trunk/RFC/ coding_standards | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-6442@lists.php.net to get a copy of this message | ||
On Tue, Apr 20, 2010 at 16:57, Daniel Convissor <danielc@php.net> wrote:
> danielc Tue, 20 Apr 2010 14:57:25 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=298220
>
> Log:
> Update example example to current standards.
>
> Changed paths:
> U phpdoc/doc-base/trunk/RFC/coding_standards
>
> Modified: phpdoc/doc-base/trunk/RFC/coding_standards
> ===================================================================
> --- phpdoc/doc-base/trunk/RFC/coding_standards 2010-04-20 14:49:17 UTC (rev 298219)
> +++ phpdoc/doc-base/trunk/RFC/coding_standards 2010-04-20 14:57:25 UTC (rev 298220)
> @@ -224,21 +224,20 @@
> For longer example printouts, use the <screen> container in conjunction
> with <![CDATA[...]]>
>
> -<para>
> - <example xml:id="foo.example.output">
> - <title>A <function>foo</function> example</title>
> - <programlisting role="php">
> + <refsect1 role="examples">
> + &reftitle.examples;
> + <example>
Please keep the ID there.
All our example really should have IDs, otherwise anchor tags wont be
generated for them which makes it harder to link to and generate
example listing in the future.
-Hannes