Function mktoc::make_toc

source ·
pub fn make_toc<P>(file_path_in: P, cnf: Config) -> Result<String, Error>where
    P: AsRef<Path>,
Expand description

takes a file path as String and returns a table of contents for the file