pub fn generate_badges<P1, P2>(
src_dir_path: P1,
dest_file_path: P2,
) -> Result<()>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.