Skip to main content

listing

Function listing 

Source
pub fn listing(
    served: &ServedFolder,
    base: &Path,
    document: &str,
    page: &Path,
) -> String
Expand description

What the Requirements widget shows on page, a page of the site in base whose document is named document: a Markdown list of the requirements of the page’s part — the pages in the requirements folder beside it — each a link, then — and whether it is met by the last run kept, or its kind when no test checks it; then, for each part above that has requirements, an item naming the part with its requirements listed under it. After the list, the time of the run, when one is kept.