mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Doc: Add action to render the toc of Icinga Web 2's documentation
refs #4820
This commit is contained in:
parent
884e4c8e94
commit
dd6427019a
@ -2,12 +2,16 @@
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
use Icinga\Module\Doc\Controller as DocController;
|
||||
use Icinga\Application\Icinga;
|
||||
use Icinga\Module\Doc\DocController;
|
||||
|
||||
class Doc_IcingawebController extends DocController
|
||||
{
|
||||
public function indexAction()
|
||||
/**
|
||||
* View toc of Icinga Web 2's documentation
|
||||
*/
|
||||
public function tocAction()
|
||||
{
|
||||
$this->renderDocAndToc();
|
||||
$this->renderToc(Icinga::app()->getApplicationDir('/../doc'), 'Icinga Web 2');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user