generate_badges

Function generate_badges 

Source
pub fn generate_badges<P1, P2>(
    src_dir_path: P1,
    dest_file_path: P2,
) -> Result<()>
where P1: AsRef<Path>, P2: AsRef<Path>,
Expand description

Parse Markdown from all .md files in a given source directory, extract existing reference definitions, identify URLs that are GitHub repos, create badge URLs for these links, and write to a file.

src_dir_path: path to the source directory.

dest_file_path: path to the file to create and write into.