pub fn scan_index(pages: &[(String, String)]) -> Index
Synthesise an index from a list of (relative_path, body) pairs. Pairs should be paths under the doc-tree root.
(relative_path, body)