cvs: phpdoc /RFC/skeletons examples.xml
| From: | Philip Olson | Date: | Wed, 12 Nov 2008 02:40:14 +0000 |
| Subject: | cvs: phpdoc /RFC/skeletons examples.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2507@lists.php.net to get a copy of this message | ||
philip Wed Nov 12 02:40:14 2008 UTC
Added files:
/phpdoc/RFC/skeletons examples.xml
Log:
Added skeleton for extension examples
http://cvs.php.net/viewvc.cgi/phpdoc/RFC/skeletons/examples.xml?view=markup&rev=1.1
Index: phpdoc/RFC/skeletons/examples.xml
+++ phpdoc/RFC/skeletons/examples.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<chapter xml:id="extname.examples" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.examples;
<!-- Add one or more of these <section>'s, with one ore more <example>'s
-->
<!-- Make sure each xml:id is unique -->
<section xml:id='extname.examples-basic'>
<title>Basic usage for extname</title>
<para>
A bunch of text
</para>
<para>
<example>
<title>A title</title>
<para>
More optional text
</para>
<programlisting role="php" xml:id="extname.examples.uniqueidhere">
<![CDATA[
<?php
echo 'Hello World';
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Hello World
]]>
</screen>
</example>
</para>
</section>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->