mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #637: ignore strange Emacs lock files by default.
This commit is contained in:
parent
23cbe85e9f
commit
d05588da41
@ -401,7 +401,7 @@ class BuildEnvironment:
|
||||
config.exclude_trees +
|
||||
[d + config.source_suffix for d in config.unused_docs] +
|
||||
['**/' + d for d in config.exclude_dirnames] +
|
||||
['**/_sources']
|
||||
['**/_sources', '.#*']
|
||||
)
|
||||
self.found_docs = set(get_matching_docs(
|
||||
self.srcdir, config.source_suffix, exclude_matchers=matchers))
|
||||
|
Loading…
Reference in New Issue
Block a user