Yii-Docs-Generator icon indicating copy to clipboard operation
Yii-Docs-Generator copied to clipboard

Generates the site documentation but how to ignores system and zii files?

Open brucebnu opened this issue 12 years ago • 1 comments

Hello, How to like to ignores views (noviews) . generates the site documentation but ignores yii framework system and zii package?

thanks! bruce 2013-06-26

brucebnu avatar Jun 26 '13 06:06 brucebnu

Here's a quick to ignore yii framework classes:

Edit the commands/DocsCommand.php file, at line 297:

foreach(CFileHelper::findFiles(YII_PATH,$this->yiiOptions) as $file) {
    $files[] = $file;
}

comment/remove that foreach loop:

/*
foreach(CFileHelper::findFiles(YII_PATH,$this->yiiOptions) as $file) {
    $files[] = $file;
}
*/

Now it should only generate docs for the files in your application.

LightningK0ala avatar May 05 '14 14:05 LightningK0ala