generator.ch
Declarations
Public Only
Publicnamespace docgen
namespace docgen
Publicstruct HtmlGenerator
struct HtmlGenerator
function delete
func delete(self : *HtmlGenerator) : void
function highlight_wrapper
function replace_extension
function get_relative_path_to_root
func get_relative_path_to_root(depth : int) : string
function strip_tags
Helper to strip HTML tags for search index
function escape_json_string
Helper to escape JSON string
function render_sidebar_item
Recursively render sidebar
function str_vec_contains
function is_server_side_supported
func is_server_side_supported(lang : string_view) : bool
function generate_page
func generate_page(gen : &HtmlGenerator, title : string_view, content : string_view, output_path : string, relative_depth : int, current_md_path : string_view) : void extension
function process_item