Commit c7c4d3c0 by Carsten Brandt

final cleanup apidoc generator

parent 2245a7e3
...@@ -129,11 +129,7 @@ class RenderController extends Controller ...@@ -129,11 +129,7 @@ class RenderController extends Controller
return null; return null;
}, },
'only' => ['.php'], 'only' => ['.php'],
'except' => array_merge($except, [ 'except' => $except,
'/views/',
'/requirements/',
'/gii/generators/',
]),
]; ];
return FileHelper::findFiles($path, $options); return FileHelper::findFiles($path, $options);
} }
......
...@@ -13,6 +13,7 @@ use yii\apidoc\models\TypeDoc; ...@@ -13,6 +13,7 @@ use yii\apidoc\models\TypeDoc;
use yii\apidoc\templates\BaseRenderer; use yii\apidoc\templates\BaseRenderer;
/** /**
* A Markdown helper with support for class reference links.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -12,6 +12,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\SinceTag; ...@@ -12,6 +12,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\SinceTag;
use yii\base\Object; use yii\base\Object;
/** /**
* Base class for API documentation information.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace yii\apidoc\models; namespace yii\apidoc\models;
/** /**
* Represents API documentation information for a `class`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace yii\apidoc\models; namespace yii\apidoc\models;
/** /**
* Represents API documentation information for a `constant`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -11,6 +11,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\ParamTag; ...@@ -11,6 +11,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\ParamTag;
use phpDocumentor\Reflection\DocBlock\Tag\ReturnTag; use phpDocumentor\Reflection\DocBlock\Tag\ReturnTag;
/** /**
* Represents API documentation information for an `event`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -14,6 +14,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag; ...@@ -14,6 +14,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag;
use yii\base\Exception; use yii\base\Exception;
/** /**
* Represents API documentation information for a `function`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace yii\apidoc\models; namespace yii\apidoc\models;
/** /**
* Represents API documentation information for an `interface`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace yii\apidoc\models; namespace yii\apidoc\models;
/** /**
* Represents API documentation information for a `method`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -11,6 +11,7 @@ use yii\apidoc\helpers\PrettyPrinter; ...@@ -11,6 +11,7 @@ use yii\apidoc\helpers\PrettyPrinter;
use yii\base\Object; use yii\base\Object;
/** /**
* Represents API documentation information for a [[FunctionDoc|function]] or [[MethodDoc|method]] `param`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -11,6 +11,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\VarTag; ...@@ -11,6 +11,7 @@ use phpDocumentor\Reflection\DocBlock\Tag\VarTag;
use yii\apidoc\helpers\PrettyPrinter; use yii\apidoc\helpers\PrettyPrinter;
/** /**
* Represents API documentation information for a `property`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace yii\apidoc\models; namespace yii\apidoc\models;
/** /**
* Represents API documentation information for a `trait`.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
...@@ -12,6 +12,7 @@ use yii\base\Exception; ...@@ -12,6 +12,7 @@ use yii\base\Exception;
use yii\helpers\StringHelper; use yii\helpers\StringHelper;
/** /**
* Base class for API documentation information for classes, interfaces and traits.
* *
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment