diff --git a/extensions/yii/apidoc/commands/RenderController.php b/extensions/yii/apidoc/commands/RenderController.php index cbd97ae..68b9fb4 100644 --- a/extensions/yii/apidoc/commands/RenderController.php +++ b/extensions/yii/apidoc/commands/RenderController.php @@ -115,7 +115,7 @@ class RenderController extends Controller return new $rendererClass(); } - protected function findFiles($path, $except = []) + protected function findFiles($path, $except = ['/vendor/', '/tests/']) { $path = FileHelper::normalizePath($path); $options = [ diff --git a/extensions/yii/apidoc/templates/offline/views/index.php b/extensions/yii/apidoc/templates/offline/views/index.php index 310e9af..73f2544 100644 --- a/extensions/yii/apidoc/templates/offline/views/index.php +++ b/extensions/yii/apidoc/templates/offline/views/index.php @@ -23,8 +23,8 @@ use yii\apidoc\models\TraitDoc; ksort($types); foreach($types as $i=>$class): ?>