PhpDocumentor: Difference between revisions

New page: == Background == Written by Josh Eichorn and Greg Beaver, wp:phpDocumentor is the implementation of the wp:PHPDoc standard for documenting your PHP code. It is similar to, and in ...
 
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
The system can be run via command-line interface, or through a browser interface.  The browser interface makes it easy to do one-offs, while the command-line interface makes it easy to do repeatable, automated documentation generation (like nightly API updates).
The system can be run via command-line interface, or through a browser interface.  The browser interface makes it easy to do one-offs, while the command-line interface makes it easy to do repeatable, automated documentation generation (like nightly API updates).


<source lang="bash">
<syntaxhighlight lang="bash">
phpdoc --target /var/www/docs/mediawiki --output HTML:Smarty:HandS --directory /home/user/work/project/vendorsrc/mediawiki/current/
phpdoc --target /var/www/docs/mediawiki --output HTML:Smarty:HandS --directory /home/user/work/project/vendorsrc/mediawiki/current/
</bash>
</syntaxhighlight>


== See Also ==
== See Also ==