generate_refdefs_to

Function generate_refdefs_to 

Source
pub fn generate_refdefs_to<P1, P2, P3>(
    cargo_toml_dir_path: P1,
    markdown_dir_path: P2,
    refdef_dest_file_path: P3,
) -> Result<()>
where P1: AsRef<Path>, P2: AsRef<Path>, P3: AsRef<Path>,
Expand description

Given a Cargo.toml path, generate reference definitions from code dependencies and write them to a file.

cargo_toml_dir_path: path to the directory containing Cargo.toml.

markdown_dir_path: path to the directory containing Markdown files.

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