README.md in jekyll_flexible_include-2.0.8 vs README.md in jekyll_flexible_include-2.0.9

- old
+ new

@@ -58,16 +58,19 @@ For example, the following restricts access to only the files within: 1. The `~/my_dir` directory tree of the account of the user that launched Jekyll. 2. The directory tree rooted at `/var/files`. 3. The directory tree rooted at the expanded value of the `$work` environment variable. ```shell -export FLEXIBLE_INCLUDE_PATHS='~/my_dir/**/{*,.*}:/var/files/**/{*,.*}:$work/**/{*,.*}' +export FLEXIBLE_INCLUDE_PATHS='~/.*:$sites/.*:$work/.*' ``` Note that the above matches dot (hidden) files as well as regular files. To just match visible files: ```shell export FLEXIBLE_INCLUDE_PATHS='~/my_dir/**/*:/var/files/**/*:$work/**/*' ``` + +#### Note +The specified directories are traversed when the plugin starts, and the filenames are stored in memory. Directories with lots of files might take a noticable amount to time to enumerate the files. ### Restricting Arbitrary Processes By default, `flexible_include` can execute any command. You can disable that by setting the environment variable `DISABLE_FLEXIBLE_INCLUDE` to any non-empty value. ```shell