6.1.12. sphinx.util.get_matching_docs

sphinx.util.get_matching_docs(dirname, suffixes, exclude_matchers=())[source]

Get all file names (without suffixes) matching a suffix in a directory, recursively.

Exclude files and dirs matching a pattern in exclude_patterns.