Skip to main content

doc

Function doc 

Source
pub fn doc(
    document: &Document,
    widgets: &Widgets,
    chapters: &[Rendered],
    pdf: &Pdf,
    print: bool,
    comments: bool,
    found: &[Problem],
) -> String
Expand description

A doc: every chapter’s rendered content on one page, in order, with an outline of the chapters’ headings beside them. In print mode the outline and the live connection are left out and the page size is the doc’s paper.