Skip to main content

broken_links

Function broken_links 

Source
pub fn broken_links(selector: &Selector) -> Result<Vec<(PathBuf, Link)>, String>
Expand description

Find bundle cross-links whose target file is missing. Bundle-relative (/…) targets resolve against base; document-relative targets resolve against the linking file’s directory. Any fragment (#…) is dropped before resolution. External URLs are ignored by links and never appear here.