summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2022-10-22 16:30:01 -0400
committerEli Schwartz <eschwartz93@gmail.com>2022-10-24 21:47:46 -0400
commit8c5838bfea64c47fe2b99008b832636603560865 (patch)
tree1d730572585a1849982854a45cc775bb58fd6000 /docs/yaml
parent4287099f06f522f632b1a98b76d8387a7a8bd778 (diff)
downloadmeson-8c5838bfea64c47fe2b99008b832636603560865.tar.gz
Add missing since annotations in docs
This is based on searching for `@FeatureNew*` decorators. There is also one correction to a version in a decorators; `build_by_default` was added in #1303, which is 0.38.0, not 0.40.0.
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/builtins/meson.yaml1
-rw-r--r--docs/yaml/functions/_build_target_base.yaml3
-rw-r--r--docs/yaml/functions/dependency.yaml3
-rw-r--r--docs/yaml/functions/subdir_done.yaml1
4 files changed, 6 insertions, 2 deletions
diff --git a/docs/yaml/builtins/meson.yaml b/docs/yaml/builtins/meson.yaml
index b8b1ad48d..8eb3aca9b 100644
--- a/docs/yaml/builtins/meson.yaml
+++ b/docs/yaml/builtins/meson.yaml
@@ -403,6 +403,7 @@ methods:
- name: project_license
returns: list[str]
+ since: 0.45.0
description: Returns the array of licenses specified in [[project]] function call.
- name: project_name
diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml
index 4e7afadb6..589e0d237 100644
--- a/docs/yaml/functions/_build_target_base.yaml
+++ b/docs/yaml/functions/_build_target_base.yaml
@@ -63,6 +63,7 @@ kwargs:
build_rpath:
type: str
+ since: 0.42.0
description: |
A string to add to target's rpath definition in the build dir,
but which will be removed on install
@@ -281,7 +282,7 @@ kwargs:
rust_crate_type:
type: str
- since: 0.41.0
+ since: 0.42.0
description: |
Set the specific type of rust crate to compile (when compiling rust).
diff --git a/docs/yaml/functions/dependency.yaml b/docs/yaml/functions/dependency.yaml
index 3a4d2e8fb..d35cd2e54 100644
--- a/docs/yaml/functions/dependency.yaml
+++ b/docs/yaml/functions/dependency.yaml
@@ -79,7 +79,7 @@ varargs:
kwargs:
default_options:
type: list[str]
- since: 0.37.0
+ since: 0.38.0
description: |
An array of default option values
that override those set in the subproject's `meson_options.txt`
@@ -131,6 +131,7 @@ kwargs:
method:
type: str
+ since: 0.40.0
default: "'auto'"
description: |
Defines the way the dependency is detected, the default is
diff --git a/docs/yaml/functions/subdir_done.yaml b/docs/yaml/functions/subdir_done.yaml
index ef878cc8c..1e2a3493a 100644
--- a/docs/yaml/functions/subdir_done.yaml
+++ b/docs/yaml/functions/subdir_done.yaml
@@ -1,5 +1,6 @@
name: subdir_done
returns: void
+since: 0.46.0
description: |
Stops further interpretation of the Meson script file from the point
of the invocation. All steps executed up to this point are valid and