Merge pull request #2840 from schmunk42/feature/apidoc

Minor apidoc updates
This commit is contained in:
Carsten Brandt
2014-03-21 15:39:43 +01:00
2 changed files with 23 additions and 22 deletions

View File

@@ -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) {

View File

@@ -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);