summaryrefslogtreecommitdiff
path: root/docs/yaml/elementary
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2022-01-23 16:04:04 +0100
committerEli Schwartz <eschwartz93@gmail.com>2022-04-07 17:16:26 -0400
commit99f510a817f1408e87813d33e4ef6fdd21d2bc20 (patch)
tree7dc97c48144cbe89ff43adb068c78a0bd3df6d4d /docs/yaml/elementary
parentf192ecd1effbed2dcc507707a780ecc8e95a537e (diff)
downloadmeson-99f510a817f1408e87813d33e4ef6fdd21d2bc20.tar.gz
docs: YAML: Add `arg_flattening: false` where required
Diffstat (limited to 'docs/yaml/elementary')
-rw-r--r--docs/yaml/elementary/dict.yml2
-rw-r--r--docs/yaml/elementary/list.yml4
-rw-r--r--docs/yaml/elementary/str.yml2
3 files changed, 8 insertions, 0 deletions
diff --git a/docs/yaml/elementary/dict.yml b/docs/yaml/elementary/dict.yml
index 5afe83508..f3ca837d0 100644
--- a/docs/yaml/elementary/dict.yml
+++ b/docs/yaml/elementary/dict.yml
@@ -30,6 +30,8 @@ methods:
fallback value given as the second argument. If a single argument
was given and the key was not found, causes a fatal error
+ arg_flattening: false
+
posargs:
key:
type: str
diff --git a/docs/yaml/elementary/list.yml b/docs/yaml/elementary/list.yml
index 085b6cab1..1ffb6d2d3 100644
--- a/docs/yaml/elementary/list.yml
+++ b/docs/yaml/elementary/list.yml
@@ -10,6 +10,8 @@ methods:
Returns `true` if the array contains the object
given as argument, `false` otherwise
+ arg_flattening: false
+
posargs:
item:
type: any
@@ -23,6 +25,8 @@ methods:
bounds returns the `fallback` value *(since 0.38.0)* or, if it is
not specified, causes a fatal error
+ arg_flattening: false
+
posargs:
index:
type: int
diff --git a/docs/yaml/elementary/str.yml b/docs/yaml/elementary/str.yml
index b79577ab5..9c4ec9d83 100644
--- a/docs/yaml/elementary/str.yml
+++ b/docs/yaml/elementary/str.yml
@@ -21,6 +21,8 @@ methods:
# res now has value 'string: text, number: 1, bool: true'
```
+ arg_flattening: false
+
posargs:
fmt:
description: |