Commit 36ed709e by Carsten Brandt

Merge pull request #2840 from schmunk42/feature/apidoc

Minor apidoc updates
parents 44d9d0da 0cd46260
...@@ -13,6 +13,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', false); ...@@ -13,6 +13,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', false);
$composerAutoload = [ $composerAutoload = [
__DIR__ . '/vendor/autoload.php', // standalone with "composer install" run __DIR__ . '/vendor/autoload.php', // standalone with "composer install" run
__DIR__ . '/../../autoload.php', // script is installed as a composer binary __DIR__ . '/../../autoload.php', // script is installed as a composer binary
__DIR__ . '/../../../../autoload.php', // script is run from yii2-dev/extensions
]; ];
$vendorPath = null; $vendorPath = null;
foreach ($composerAutoload as $autoload) { foreach ($composerAutoload as $autoload) {
......
...@@ -15,7 +15,7 @@ $renderer = $this->context; ...@@ -15,7 +15,7 @@ $renderer = $this->context;
$this->beginContent('@yii/apidoc/templates/bootstrap/layouts/main.php'); ?> $this->beginContent('@yii/apidoc/templates/bootstrap/layouts/main.php'); ?>
<div class="row"> <div class="row">
<div class="col-md-2"> <div class="col-md-3">
<?php <?php
$types = $renderer->getNavTypes(isset($type) ? $type : null, $types); $types = $renderer->getNavTypes(isset($type) ? $type : null, $types);
ksort($types); ksort($types);
......
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