pub(crate) fn make_relative_link(target_url: &str, current_path: &str) -> StringExpand description
Computes a relative link from current_path to target_url.
If the target is in the same file, returns just the #anchor part.
Otherwise returns a relative path like ../syntax/items.html#anchor.