Fix #2368: Ignore emacs lock files like `.#foo.rst` by default.

This commit is contained in:
Takeshi KOMIYA 2016-03-06 12:20:30 +09:00
parent 0211e19ae6
commit 5df6d09392
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ Bugs fixed
* #2361: Fix additional paragraphs inside the "compound" directive are indented * #2361: Fix additional paragraphs inside the "compound" directive are indented
* #2364: Fix KeyError 'rootSymbol' on Sphinx upgrade from older version. * #2364: Fix KeyError 'rootSymbol' on Sphinx upgrade from older version.
* #2348: Move amsmath and amssymb to before fontpkg on LaTeX writer. * #2348: Move amsmath and amssymb to before fontpkg on LaTeX writer.
* #2368: Ignore emacs lock files like ``.#foo.rst`` by default.
Documentation Documentation
------------- -------------

View File

@ -391,7 +391,7 @@ class BuildEnvironment:
config.exclude_patterns[:] + config.exclude_patterns[:] +
config.templates_path + config.templates_path +
config.html_extra_path + config.html_extra_path +
['**/_sources', '.#*', '*.lproj/**'] ['**/_sources', '.#*', '**/.#*', '*.lproj/**']
) )
self.found_docs = set(get_matching_docs( self.found_docs = set(get_matching_docs(
self.srcdir, config.source_suffix, exclude_matchers=matchers)) self.srcdir, config.source_suffix, exclude_matchers=matchers))