How to generate Yii-like Documentation

Comparing #5 with #7

Revision #7 was created by Asgaroth Asgaroth on May 6, 2011, 7:12:30 PM.

Added resources section and updated links

Content


 
 
Introduction ------------ Something a good application cant miss is documentation, and what would be better than some nice formatted HTML documentation that can be auto-generated from your code, we know several tools that already do this like [phpDocumentor](http://www.phpdoc.org/ "phpDocumentor"), but today we are introducing [Yii Docs Generator]( https://github.com/phpnode/Yii-Dwww.yiiframework.com/extension/yiidocs-Ggenerator "Yii Docs Generator") which is a modification of the code that Yii itself uses to generate its documentation, thank [phpnode](http://www.yiiframework.com/forum/index.php?/user/22573-phpnode/ "phpnode") for this wonderful work.

To generate nice HTML however we must follow some specifications that this wiki will try to describe.
[...]
The Yii Docs Generator also comes with a check command, that will help you check if there is some important missing documentation, but wont check things like @package of class documentation so its always good to check your files manually after using this command.

 
 
#### Resources:
 
 
- [Yii Docs Generator on Git]( https://github.com/phpnode/Yii-Docs-Generator "Yii Docs Generator") 
 
-  [Yii Docs Generator on Yii](http://www.yiiframework.com/extension/yiidocsgenerator "Yii Docs Generator")