pub fn page(
document: &Document,
widgets: &Widgets,
rendered: &Rendered,
comments: bool,
found: &[Problem],
) -> Option<String>Expand description
The whole page for one Markdown file of the site document: navigation,
the file’s rendered content and the scripts that mount its widgets and
keep it live. comments is whether comments are on; found is the page’s
problems, listed above it. The navbar and the sidebar are drawn from one
navigation tree, built once for the page. None for a file outside the
served folder, which is never shown.