cvs: peardoc /en/chapters standards.xml
| From: | Daniel Convissor | Date: | Thu, 24 Mar 2005 18:07:25 +0000 |
| Subject: | cvs: peardoc /en/chapters standards.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5726@lists.php.net to get a copy of this message | ||
danielc Thu Mar 24 13:07:25 2005 EDT
Modified files:
/peardoc/en/chapters standards.xml
Log:
* Explain where to find the docblock standards.
http://cvs.php.net/diff.php/peardoc/en/chapters/standards.xml?r1=1.34&r2=1.35&ty=u
Index: peardoc/en/chapters/standards.xml
diff -u peardoc/en/chapters/standards.xml:1.34 peardoc/en/chapters/standards.xml:1.35
--- peardoc/en/chapters/standards.xml:1.34 Sun Mar 6 01:21:59 2005
+++ peardoc/en/chapters/standards.xml Thu Mar 24 13:07:24 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.34 $ -->
+<!-- $Revision: 1.35 $ -->
<chapter id="standards">
<title>Coding Standards</title>
@@ -171,9 +171,14 @@
<sect1 id="standards.comments">
<title>Comments</title>
<para>
- Inline documentation for classes should follow the PHPDoc
- convention, similar to Javadoc. More information about PHPDoc can
- be found here: <ulink
url="&url.phpdocumentor;">&url.phpdocumentor;</ulink>
+ Complete inline documentation comment blocks (docblocks)
+ must be provided. Please read the
+ <link linkend="standards.sample">Sample File</link> and
+ <link linkend="standards.header">Header Comment Blocks</link>
+ sections of the Coding Standards to learn the specifics
+ of writing docblocks for PEAR packages.
+ Further information can be found on the
+ <ulink url="&url.phpdocumentor;">phpDocumentor</ulink> website.
</para>
<para>
Non-documentation comments are strongly encouraged. A general rule of
@@ -804,7 +809,7 @@
</sect1>
<sect1 id="standards.sample">
- <title>Sample File</title>
+ <title>Sample File (including Docblock Comment standards)</title>
<para>
The source code of PEAR packages are read by thousands
of people. Also, it is likely other people will become