summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-01-09 14:45:24 -0500
committerDave Henderson <dhenderson@gmail.com>2022-02-13 11:53:47 -0500
commit4510ec9c9e9b1cdce83ec893dfe2aebfdd5db8d7 (patch)
tree831048f23820fe9c3c8749bedbbf839a4a546621 /docs
parent839e8973475f1f0bdc05657ea13cd23a16d85cd8 (diff)
Ensure output file paths exist
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/content/config.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/content/config.md b/docs/content/config.md
index c1179f63..22b6f239 100644
--- a/docs/content/config.md
+++ b/docs/content/config.md
@@ -243,6 +243,9 @@ See [`--output-dir`](../usage/#--input-dir-and---output-dir).
The directory to write rendered output files. Must be used with
[`inputDir`](#inputdir).
+If the directory is missing, it will be created with the same permissions as the
+`inputDir`.
+
```yaml
inputDir: templates/
outputDir: out/
@@ -258,6 +261,9 @@ An array of output file paths. The special value `-` means `Stdout`. Multiple
values can be set, but there must be a corresponding number of `inputFiles`
entries present.
+If any of the parent directories are missing, they will be created with the same
+permissions as the input directories.
+
```yaml
inputFiles:
- first.tmpl