From 2cc314740e4ce29739c667f0887448d6ee592542 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 25 Jan 2024 21:14:06 -0500 Subject: Revert "Remove support for deprecated key/value array form of template config" (#1979) --- docs/content/config.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/content') 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 -- cgit v1.2.3