Skip to main content

scan_index

Function scan_index 

Source
pub fn scan_index(pages: &[(String, String)]) -> Index
Expand description

Synthesise an index from a list of (relative_path, body) pairs. Pairs should be paths under the doc-tree root.