Doc: Add `toc' view script

refs #4820
This commit is contained in:
Eric Lippmann 2014-05-27 15:03:02 +02:00
parent e320d8613c
commit 282af5a794
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<div class="controls">
<h1><?= $docName ?> documentation</h1>
</div>
<div class="content" data-base-target="_next">
<?= $this->partial(
'layout/menu.phtml',
'default',
array(
'items' => $docToc->getChildren(),
'sub' => false,
'url' => ''
)
) ?>
</div>