mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-24 04:50:31 +08:00
final cleanup apidoc generator
This commit is contained in:
@ -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;
|
|||||||
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;
|
|||||||
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 @@
|
|||||||
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 @@
|
|||||||
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;
|
|||||||
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;
|
|||||||
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 @@
|
|||||||
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 @@
|
|||||||
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;
|
|||||||
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;
|
|||||||
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 @@
|
|||||||
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;
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user