aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-08-29 12:08:27 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-08-29 12:09:52 -0400
commit4f05f877fc088be73b56321271ca41b301651ba1 (patch)
tree664e8fa1ca9c34f1fc3ee4f535fdc06ac4842ad1 /docs
parente8d42bd9a829501fe8cfa83cb5bad568d9e24bc9 (diff)
downloadmeson-4f05f877fc088be73b56321271ca41b301651ba1.zip
meson-4f05f877fc088be73b56321271ca41b301651ba1.tar.gz
meson-4f05f877fc088be73b56321271ca41b301651ba1.tar.bz2
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/yaml/functions/subdir.yaml5
1 files changed, 4 insertions, 1 deletions
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: