pub fn generate_docs_from_path(input_path: &Path, base_path: &Path) -> Result<()>