Commit b947cd72 authored by Kevin Yumang's avatar Kevin Yumang

fix doctype problem on loading

parent c42562ae
.table-docu {
line-height: 2;
font-size: 13px;
}
\ No newline at end of file
......@@ -101,6 +101,8 @@
|--------------------------------------------------------------------------------
| Load all allocations from the config.
*/
if(isset($config->methodAllocation))
{
foreach ($config->methodAllocation as $key => $method)
{
$blade->directive($key, function ($parameters) use ($key, $config, $method, $folder, $namespace)
......@@ -138,6 +140,7 @@
}
}
}
}
}
......
<?php
  • i use this class "Limitless::Documentation" to bootstrap the documentation...

Please register or sign in to reply
//
// This little helper boots the documentation.
// @extends('Limitless::Documentation')
//
$x = new Ceetrox\Sidekick\Views\Limitless\Help\Config();
echo $x -> internalNavigation();
?>
......@@ -31,22 +31,12 @@
*/
class Config
{
/*
|--------------------------------------------------------------------------------------------
| Parameter
|--------------------------------------------------------------------------------------------
*/
public $methodAllocation = [
  • removed because this is not working within this special file... since this is bootstraped by the "documentation helper"...

Please register or sign in to reply
'Limitless::Help' => 'internalNavigation',
];
/*
|--------------------------------------------------------------------------------------------
| Method "internalNavigation"
|--------------------------------------------------------------------------------------------
*/
public function internalNavigation($parameters)
public function internalNavigation()
{
if(isset($_GET['page'])) {
......
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