From 4f05f877fc088be73b56321271ca41b301651ba1 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 29 Aug 2022 12:08:27 -0400 Subject: docs: make note of the path restriction on subdir() It's mentioned in the error message if you try to do it, that you cannot use `..`, but it is probably useful to mention this in the online docs too. --- docs/yaml/functions/subdir.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/yaml/functions/subdir.yaml b/docs/yaml/functions/subdir.yaml index 694fa51..428563b 100644 --- a/docs/yaml/functions/subdir.yaml +++ b/docs/yaml/functions/subdir.yaml @@ -14,7 +14,10 @@ description: | posargs: dir_name: type: str - description: Directory relative to the current `meson.build` to enter. + description: | + Directory relative to the current `meson.build` to enter. + + Cannot contain `..` kwargs: if_found: -- cgit v1.1