#include "lib/doc_page.h" void render_doc_page_link(String page, String label = "", String badge = "") { page = trim(page); if(page == "") return; if(label == "") label = doc_index_label(page); if(badge == "") badge = doc_page_kind_badge(doc_page_kind(page)); ?>()

Parameters

:
} void render_see_section(String name) { StringList lines = split(file_get_contents("areas/" + name + ".txt"), "\n"); s32 idx = 0; for(auto line : lines) { line = trim(line); if(line == "") { idx += 1; continue; } if(idx == 0) { <>

} void render_doc_see_links(StringList see_lines) { if(see_lines.size() == 0) return; <> ') { String target = trim(sl.substr(1)); if(doc_has_area(target)) { render_see_section(target); } else if(doc_has_page(target)) { ?>
} RENDER(Request& context) { String page = first(context.get["p"], "index"); DocPage doc_page; String page_title = doc_default_title(page); if(page != "index") { doc_page = load_doc_page(page); if(doc_page.title != "") page_title = doc_page.title; } <>

UCE Docs /

All API Functions

} else { String detail_class = "detail-layout"; if(doc_page.see_lines.size() == 0) detail_class += " no-sidebar"; ?>
0) { ?>

Signature

0) { ?>
}