mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 04:38:03 +08:00
Merge pull request #2840 from schmunk42/feature/apidoc
Minor apidoc updates
This commit is contained in:
@@ -13,6 +13,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', false);
|
||||
$composerAutoload = [
|
||||
__DIR__ . '/vendor/autoload.php', // standalone with "composer install" run
|
||||
__DIR__ . '/../../autoload.php', // script is installed as a composer binary
|
||||
__DIR__ . '/../../../../autoload.php', // script is run from yii2-dev/extensions
|
||||
];
|
||||
$vendorPath = null;
|
||||
foreach ($composerAutoload as $autoload) {
|
||||
|
||||
@@ -15,7 +15,7 @@ $renderer = $this->context;
|
||||
$this->beginContent('@yii/apidoc/templates/bootstrap/layouts/main.php'); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-3">
|
||||
<?php
|
||||
$types = $renderer->getNavTypes(isset($type) ? $type : null, $types);
|
||||
ksort($types);
|
||||
|
||||
Reference in New Issue
Block a user