diff --git a/docs/_data/config_options/global.yml b/docs/_data/config_options/global.yml
index d645aa70..cd92a505 100644
--- a/docs/_data/config_options/global.yml
+++ b/docs/_data/config_options/global.yml
@@ -41,10 +41,15 @@
Exclude directories and/or files from the conversion. These exclusions are relative to the site's source directory
and cannot be outside the source directory.
- In Jekyll 3, the `exclude` configuration option replaces the default exclusion list.
+ This configuration option supports Ruby's
+ File.fnmatch
filename globbing patterns to match multiple entries to exclude. For example,
+ you can exclude multiple README.md files in your source tree from being included in your site by specifying the
+ following exclude
option entries: ["README.md", "**/README.md"]
.
- In Jekyll 4, user-provided entries get added to the default exclusion list instead and the `include` option can be
- used to override the default exclusion list entries.
+ In Jekyll 3, the exclude
configuration option replaces the default exclusion list.
+
+ In Jekyll 4, user-provided entries get added to the default exclusion list instead and the include
+ option can be used to override the default exclusion list entries.
The default exclusions are found in _config.yml
as created by jekyll new
:
.htaccess
is a good example since
- dotfiles are excluded by default. With Jekyll 4, the `include` configuration option entries override the
- `exclude` option entries.
+ dotfiles are excluded by default.
+ File.fnmatch
filename globbing patterns to match multiple entries to include, refer the
+ exclude
configuration option for more information.
+ include
configuration option entries override the exclude
option
+ entries.
option: "include: [DIR, FILE, ...]"