diff --git a/docs/settings.rst b/docs/settings.rst index 93c632d2..b442451a 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -150,12 +150,12 @@ Basic settings READERS = {'foo': FooReader} -.. data:: IGNORE_FILES = ['.#*'] +.. data:: IGNORE_FILES = ['.*'] - A list of glob patterns. Files and directories matching any of these - patterns will be ignored by the processor. For example, the default - ``['.#*']`` will ignore emacs lock files, and ``['__pycache__']`` would - ignore Python 3's bytecode caches. + A list of glob patterns. Files and directories matching any of these patterns + will be ignored by the processor. For example, the default ``['.*']`` will + ignore "hidden" files and directories, and ``['__pycache__']`` would ignore + Python 3's bytecode caches. .. data:: MARKDOWN = {...} diff --git a/pelican/settings.py b/pelican/settings.py index 66d6beeb..1c6b5c76 100644 --- a/pelican/settings.py +++ b/pelican/settings.py @@ -157,7 +157,7 @@ DEFAULT_CONFIG = { "PYGMENTS_RST_OPTIONS": {}, "TEMPLATE_PAGES": {}, "TEMPLATE_EXTENSIONS": [".html"], - "IGNORE_FILES": [".#*"], + "IGNORE_FILES": [".*"], "SLUG_REGEX_SUBSTITUTIONS": [ (r"[^\w\s-]", ""), # remove non-alphabetical/whitespace/'-' chars (r"(?u)\A\s*", ""), # strip leading whitespace