Skip to main content

dump_reference_html

Function dump_reference_html 

Source
pub fn dump_reference_html() -> String
Expand description

Render the full LSP knowledge base as the four chapter <section>s that docs/reference.html splices in between its <!-- BEGIN/END LSP-REFERENCE --> markers. One <article class="doc-entry"> per canonical name across builtins / keywords / options / specials.

All inputs come from the baked Rust tables — no upstream zsh repo access at runtime. The HTML uses the existing .doc-entry / .chapter-meta styling already defined in reference.html so no CSS changes are needed.