Skip to main content

compute_doc_url

Function compute_doc_url 

Source
pub fn compute_doc_url(
    crate_name: &OriginalName,
    crate_version: &Version,
    path_prefix: &UrlPathPrefix,
) -> String
Expand description

URL of the docs of a crate version. The docs are stored under the lowercase crate name, but rustdoc keeps the casing of the crate name for its output folder.