Doc: Rename `docandtoc' view script to `chapter'

Prepare that every chapter is displayed on a new page.

refs #4820
This commit is contained in:
Eric Lippmann 2014-05-27 15:02:09 +02:00
parent 0f5e076771
commit e320d8613c
2 changed files with 1 additions and 20 deletions

View File

@ -0,0 +1 @@
<?= $chapterHtml ?>

View File

@ -1,20 +0,0 @@
<h1><?= $docName ?> documentation</h1>
<?php if ($docHtml === null): ?>
<p>Documentation not available.</p>
<?php else: ?>
<div class="toc">
<?= $this->partial(
'layout/menu.phtml',
'default',
array(
'items' => $docToc->getChildren(),
'sub' => false,
'url' => ''
)
);
?>
</div>
<div class="doc">
<?= $docHtml ?>
</div>
<?php endif ?>