pub fn parse_html_file(path: &Path) -> HashSet<Url> {
    info!("Checking doc page at {}", path.display());
    let dom = parse_document(RcDom::default(), Default::default())
        .from_utf8()
        .from_file(path)
        .unwrap();

    let base_url = Url::from_file_path(path).unwrap();
    let mut urls = HashSet::new();
    parse_a_hrefs(dom.document, &base_url, &mut urls);
    urls
}
/// Parse the html file at the provided path and check the availablility of all links in it.
Parse the html file at the provided path and check the availablility of all links in it.
Parse the html file at the provided path and check the availablility of all links in it .
pub fn parse_html_file(path: &Path) -> HashSet<Url> {
    info!("Checking doc page at {}", path.display());
    let dom = parse_document(RcDom::default(), Default::default())
        .from_utf8()
        .from_file(path)
        .unwrap();
    let base_url = Url::from_file_path(path).unwrap();
    let mut urls = HashSet::new();
    parse_a_hrefs(dom.document, &base_url, &mut urls);
    urls
}
pub fn parse_html_file ( path : & Path ) -> HashSet < Url > { info ! ( " " path display ( ) ) ; let dom = parse_document ( RcDom :: default ( ) , Default :: default ( ) ) . from_utf8 ( ) . from_file ( path ) . unwrap ( ) ; let base_url = Url :: from_file_path ( path ) . unwrap ( ) ; let mut urls = HashSet :: new ( ) ; parse_a_hrefs ( dom . document , & base_url , & mut urls ) ; urls }
Parse the html file at the provided path and check the availablility of all links in it.
Parse the html file at the provided path and check the availablility of all links in it .
path
&Path