summaryrefslogtreecommitdiff
path: root/docs/content
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-01-25 21:14:06 -0500
committerGitHub <noreply@github.com>2024-01-25 21:14:06 -0500
commit2cc314740e4ce29739c667f0887448d6ee592542 (patch)
tree93e6768da61b137e95a1079e775117c238146a24 /docs/content
parent562bcd95dfb6fb14af7e0b5829beccff3636d2f1 (diff)
Revert "Remove support for deprecated key/value array form of template config" (#1979)
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/config.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/content/config.md b/docs/content/config.md
index 60eac24a..dd947b99 100644
--- a/docs/content/config.md
+++ b/docs/content/config.md
@@ -455,6 +455,18 @@ templates:
url: https://example.com/api/v1/someremotetemplate
header:
Authorization: ["Basic aGF4MHI6c3dvcmRmaXNoCg=="]
+ dir: foo/bar/
+```
+
+_(Deprecated)_ Can also be an array of template references. Can be just a path,
+or an alias and a path:
+
+```yaml
+templates:
+ - t=foo/bar/helloworld.tmpl
+ - templatedir/
+ - dir=foo/bar/
+ - mytemplate.t
```
[command-line arguments]: ../usage