fn visit_dir(
dir: &Path,
base: &Path,
file_contents: &mut Vec<(String, String)>,
excluded_entries: &[String],
) -> Result<(), Error>Expand description
Helper function to recursively visit subdirectories and collect markdown file contents.