From dfd0fd218efef9200713f056b45f991e8bf176ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Hork=C3=BD?= Date: Tue, 31 Oct 2017 14:11:37 +0100 Subject: [PATCH] clarified resource file structure --- docs/resources.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/resources.md b/docs/resources.md index 8f3eeb2..ef10b18 100644 --- a/docs/resources.md +++ b/docs/resources.md @@ -10,13 +10,14 @@ The resource definition file can contain resource definitions or include subsequent definition files: ``` [ - Resource, // see below + Resource, // see Basic resource layout below Resource, ... - { "include": String }, // path to other definition file to include. - ... // may be relative to current directory + { "include": String }, // see below + ... ] ``` +where include `String` can be either exact path or a glob pattern (expansion to zero files is not an error) and may be relative to current resource file. # Supported resource types/drivers