ref: beaa1b3aad578ebbbdf426321ed1758eb1068946
parent: bec3f40359f076b966ede15cb967e2f3873a74b4
author: bep <[email protected]>
date: Wed Jun 3 09:46:55 EDT 2015
Add some docs for IgnoreFiles See #1189
--- a/docs/content/overview/configuration.md
+++ b/docs/content/overview/configuration.md
@@ -139,6 +139,15 @@
watch: false
---
+## Ignore files on build
+
+The following inside `config.toml` will ignore files ending with `.foo` and `.boo` when building with `hugo`.
+
+```
+ignoreFiles = [ "\\.foo$", "\\.boo$" ]
+```
+
+The above is is a list of Reqular Expressions, but note the escaping of the `\` to make TOML happy.