pub fn resolve_link(
root: &str,
current_page: &str,
link: &str,
) -> Option<String>Expand description
Resolve a relative link inside the doc tree against root, going
through a lexical safe_join check so ../../etc/passwd is
rejected before hitting the asset layer.