Carsten Brandt
11 years ago
5 changed files with 49 additions and 30 deletions
@ -0,0 +1,31 @@ |
|||||||
|
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
|
namespace yii\apidoc\templates\offline\assets; |
||||||
|
use yii\web\JqueryAsset; |
||||||
|
use yii\web\View; |
||||||
|
|
||||||
|
/** |
||||||
|
* The asset bundle for the offline template. |
||||||
|
* |
||||||
|
* @author Carsten Brandt <mail@cebe.cc> |
||||||
|
* @since 2.0 |
||||||
|
*/ |
||||||
|
class AssetBundle extends \yii\web\AssetBundle |
||||||
|
{ |
||||||
|
public $sourcePath = '@yii/apidoc/templates/offline/assets/css'; |
||||||
|
public $css = [ |
||||||
|
'api.css', |
||||||
|
'style.css', |
||||||
|
]; |
||||||
|
public $depends = [ |
||||||
|
'yii\web\JqueryAsset', |
||||||
|
]; |
||||||
|
public $jsOptions = [ |
||||||
|
'position' => View::POS_HEAD, |
||||||
|
]; |
||||||
|
} |
Loading…
Reference in new issue