mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
modules/doc: Add route 'modules/doc/icingaweb' to display Icinga Web 2's documentation
refs #4820
This commit is contained in:
parent
e6abe21fb8
commit
ce37c20736
13
modules/doc/application/controllers/IcingawebController.php
Normal file
13
modules/doc/application/controllers/IcingawebController.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
use Icinga\Module\Doc\Controller as DocController;
|
||||
|
||||
class Doc_IcingawebController extends DocController
|
||||
{
|
||||
public function indexAction()
|
||||
{
|
||||
$this->populateView();
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<h1>Icinga Web 2 Documentation</h1>
|
||||
<?= $this->partial(
|
||||
'partials/docandtoc.phtml',
|
||||
'doc',
|
||||
array(
|
||||
'docToc' => $docToc,
|
||||
'docHtml' => $docHtml
|
||||
)
|
||||
); ?>
|
Loading…
x
Reference in New Issue
Block a user