update production
This commit is contained in:
@@ -8,17 +8,15 @@ class APIgoatDoc extends APIgoatTemplate
|
||||
$content = '';
|
||||
$menu = '';
|
||||
|
||||
//preprint($data);
|
||||
|
||||
foreach ($data as $row) {
|
||||
|
||||
$menu .= li(href($row['name'], '#' . $row['title']), "class='page_item current_page_item'");
|
||||
$content .= div(
|
||||
anchor($row['title']) . h3($row['name'])
|
||||
. h2($row['title'], "class='entry-title'")
|
||||
. p($row['type'] . " " . $row['value'])
|
||||
. ((!empty($row['example'])) ? pre(htmlentities($row['example'])) : '')
|
||||
. span($row['type'] . " " . $row['value'])
|
||||
. p(trim($row['text']))
|
||||
. ((!empty($row['example'])) ? div(span("Example:") . pre(htmlentities($row['example']))) : '')
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user