pub fn transform(page_map: &HashMap<String, Page>, root_base_name: &str) -> Vec<Hyperstring> { if let Some(cycle) = cyclic_transclusion_check(page_map) { panic!("Cyclic transclusion detected: {:?}", cycle); } linearize(page_map, root_base_name) }