Function write_man_pages

Source
pub fn write_man_pages(man_dir: &Path) -> Result<()>
Expand description

Generate and write man-pages into the specified directory.

The generated files are named things like man1/git-branchless-smartlog.1, so this directory should be of the form path/to/man, to ensure that these files get generated into the correct man-page section.