doc:scratchpad:pecldocs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:scratchpad:pecldocs [2008/12/04 23:40] – expand arginfo notes, as per felipe's email philipdoc:scratchpad:pecldocs [2009/03/24 17:14] – added --pecl to example philip
Line 14: Line 14:
 $ cd phpdoc/scripts/docgen $ cd phpdoc/scripts/docgen
 $ php docgen.php --help $ php docgen.php --help
-$ php docgen.php --output tmp --extension extname+$ php docgen.php --output tmp --extension extname --pecl
 </code> </code>
  
Line 48: Line 48:
 } }
 </code> </code>
- 
 ==== Other Notes ==== ==== Other Notes ====
   * Docgen may be used to generate specific documentation too, like for individual classes and functions   * Docgen may be used to generate specific documentation too, like for individual classes and functions
 +  * Write in third person voice (no "You"
 +  * XML is single spaced 
 +  * Don't commit skeletons and "fill them out later", commit them when they are filled out 
 +  * Skeletons generate several sections that you may not use, such as examples and errors... in this case delete them 
 +  * Don't commit auto-generated files from build time (like entities.*) 
 +  * Feel free to ask phpdoc@lists.php.net for code review, or #php.doc on Efnet 
 +  * When testing, be sure to add to manual.xml.in in phpdoc/ otherwise it won't be validated/tested/built
doc/scratchpad/pecldocs.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1