pub fn canonical_path(path: &str) -> &str
One leading / stripped (resolveDocPath’s path.replace(/^\//, "")).
/
resolveDocPath
path.replace(/^\//, "")