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.
pull/10753/head
Eli Schwartz 2 years ago
parent e8d42bd9a8
commit 4f05f877fc
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 5
      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:

Loading…
Cancel
Save