Skip to main content

site_citations

Function site_citations 

fn site_citations(text: &str) -> Vec<(&str, &str)>
Expand description

Every site-absolute citation on one line, as (version segment, page path).

Keyed on the site root, so a citation naming any version is found. Keying on the whole …/latest/ literal meant the scan could only see the citations that were already right — …/atune/dev/concepts/nonexistent/ was not a citation to it at all (§1.3.141).