diff options
| author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-10-22 16:42:21 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-10-23 03:06:39 +0300 |
| commit | fa2585d0b364143fb588b8bb611eaa4d1c277811 (patch) | |
| tree | 529fe5facf7c43c453a8569073b31fc122efcc68 /docs/yaml | |
| parent | b98356e0557399803895755a5f513841345fba1b (diff) | |
| download | meson-fa2585d0b364143fb588b8bb611eaa4d1c277811.tar.gz | |
Fix typos in docs
Diffstat (limited to 'docs/yaml')
| -rw-r--r-- | docs/yaml/builtins/meson.yaml | 4 | ||||
| -rw-r--r-- | docs/yaml/elementary/str.yml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/_build_target_base.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/configuration_data.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/custom_target.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/environment.yaml | 4 | ||||
| -rw-r--r-- | docs/yaml/functions/is_disabler.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/is_variable.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/objects/compiler.yaml | 6 |
9 files changed, 13 insertions, 13 deletions
diff --git a/docs/yaml/builtins/meson.yaml b/docs/yaml/builtins/meson.yaml index 1ae3499a3..b8b1ad48d 100644 --- a/docs/yaml/builtins/meson.yaml +++ b/docs/yaml/builtins/meson.yaml @@ -450,7 +450,7 @@ methods: type: env | str | list[str] | dict[str] | dict[list[str]] description: | The [[@env]] object to add. - Since *0.62.0* list of strings is allowed in dictionnary values. In that + Since *0.62.0* list of strings is allowed in dictionary values. In that case values are joined using the separator. kwargs: separator: @@ -467,5 +467,5 @@ methods: description: | Must be one of 'set', 'prepend', or 'append' (defaults to 'set'). Controls if initial values defined in the first - positional argument are prepended, appended or repace the current value + positional argument are prepended, appended or replace the current value of the environment variable. diff --git a/docs/yaml/elementary/str.yml b/docs/yaml/elementary/str.yml index 9c4ec9d83..7b60e1e94 100644 --- a/docs/yaml/elementary/str.yml +++ b/docs/yaml/elementary/str.yml @@ -39,7 +39,7 @@ methods: # str.replace(old, new) - name: replace - description: Search all occurences of `old` and and replace it with `new` + description: Search all occurrences of `old` and and replace it with `new` returns: str since: 0.58.0 example: | diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml index d299a854d..4e7afadb6 100644 --- a/docs/yaml/functions/_build_target_base.yaml +++ b/docs/yaml/functions/_build_target_base.yaml @@ -145,7 +145,7 @@ kwargs: type: bool since: 0.42.0 default: true - description: Controlls whether Meson adds the current source and build directories to the include path + description: Controls whether Meson adds the current source and build directories to the include path include_directories: type: list[inc | str] diff --git a/docs/yaml/functions/configuration_data.yaml b/docs/yaml/functions/configuration_data.yaml index e16a69fc1..61297b58a 100644 --- a/docs/yaml/functions/configuration_data.yaml +++ b/docs/yaml/functions/configuration_data.yaml @@ -10,6 +10,6 @@ optargs: type: dict[str | bool | int] since: 0.49.0 description: | - Optional dictionary to specifiy an inital data set. If + Optional dictionary to specify an initial data set. If provided, each key/value pair is added into the [[@cfg_data]] object as if the [[cfg_data.set]] method was called for each of them. diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index dae6a4f35..7d052820c 100644 --- a/docs/yaml/functions/custom_target.yaml +++ b/docs/yaml/functions/custom_target.yaml @@ -6,7 +6,7 @@ description: | The name of custom target might not be used by every backends, for instance with the Ninja backend, `subdir/meson.build` containing the example below, `ninja -C builddir foo` or `ninja -C builddir subdir/foo` won't work, - it is instead `ninja -C builddir subdir/file.txt`. Howerver, `meson compile subdir/foo` + it is instead `ninja -C builddir subdir/file.txt`. However, `meson compile subdir/foo` is accepted. ```meson custom_target('foo', output: 'file.txt', ...) diff --git a/docs/yaml/functions/environment.yaml b/docs/yaml/functions/environment.yaml index 5c3a43d5f..4c18ffc27 100644 --- a/docs/yaml/functions/environment.yaml +++ b/docs/yaml/functions/environment.yaml @@ -12,7 +12,7 @@ optargs: description: | If provided, each key/value pair is added into the [[@env]] object as if [[env.set]] method was called for each of them. - Since *0.62.0* list of strings is allowed in dictionnary values. In that + Since *0.62.0* list of strings is allowed in dictionary values. In that case values are joined using the separator. kwargs: @@ -31,5 +31,5 @@ kwargs: description: | Must be one of 'set', 'prepend', or 'append' (defaults to 'set'). Controls if initial values defined in the first - positional argument are prepended, appended or repace the current value + positional argument are prepended, appended or replace the current value of the environment variable. diff --git a/docs/yaml/functions/is_disabler.yaml b/docs/yaml/functions/is_disabler.yaml index 9f1dd9327..278634541 100644 --- a/docs/yaml/functions/is_disabler.yaml +++ b/docs/yaml/functions/is_disabler.yaml @@ -6,4 +6,4 @@ description: Returns true if a variable is a disabler and false otherwise. posargs: var: type: any - description: The varaible to test + description: The variable to test diff --git a/docs/yaml/functions/is_variable.yaml b/docs/yaml/functions/is_variable.yaml index 6c338eec4..9012679ae 100644 --- a/docs/yaml/functions/is_variable.yaml +++ b/docs/yaml/functions/is_variable.yaml @@ -6,4 +6,4 @@ description: Returns true if a variable of the given name exists and false other posargs: var: type: str - description: The varaible to test + description: The variable to test diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml index 6f49ec526..cf341119d 100644 --- a/docs/yaml/objects/compiler.yaml +++ b/docs/yaml/objects/compiler.yaml @@ -37,7 +37,7 @@ methods: The source code to check. If a string is passed, the code is used directly. If a [[@file]] object - is passed, it's content is used for the compiler check. + is passed, its content is used for the compiler check. # Helper methods to pre-define common kwargs - name: _args @@ -105,7 +105,7 @@ methods: The name to use for printing a message about the compiler check. If this keyword argument is not passed, no message will be printed about the check. -# Even more convinient +# Even more convenient - name: _common returns: void description: You have found a bug if you can see this! @@ -564,7 +564,7 @@ methods: posargs: name: type: str - description: The attribute nane to check. + description: The attribute name to check. - name: get_supported_function_attributes returns: list[str] |
