(markdown: &str)
| 369 | fn collect_markdown( |
| 370 | collection: &str, |
| 371 | root: &Path, |
| 372 | dir: &Path, |
| 373 | out: &mut Vec<DocOut>, |
| 374 | ) -> io::Result<()> { |
| 375 | for entry in fs::read_dir(dir)? { |
| 376 | let path = entry?.path(); |
| 377 | if path.is_dir() { |
| 378 | collect_markdown(collection, root, &path, out)?; |