From cf9fd56bc905a2022ad48c93d25b5a73b57c8802 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 11 Apr 2023 16:04:17 -0400 Subject: fix various spelling issues Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/yaml/elementary/str.yml | 2 +- docs/yaml/functions/_build_target_base.yaml | 4 ++-- docs/yaml/functions/install_headers.yaml | 2 +- docs/yaml/functions/project.yaml | 2 +- docs/yaml/objects/build_tgt.yaml | 2 +- docs/yaml/objects/compiler.yaml | 4 ++-- docs/yaml/objects/module.yaml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'docs/yaml') diff --git a/docs/yaml/elementary/str.yml b/docs/yaml/elementary/str.yml index 7b60e1e..00587cb 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 occurrences of `old` and and replace it with `new` + description: Search all occurrences of `old` 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 767c4da..8b169c8 100644 --- a/docs/yaml/functions/_build_target_base.yaml +++ b/docs/yaml/functions/_build_target_base.yaml @@ -89,7 +89,7 @@ kwargs: default: false description: | When set to true flags this target as a GUI application - on platforms where this makes a differerence, **deprecated** since + on platforms where this makes a difference, **deprecated** since 0.56.0, use `win_subsystem` instead. link_args: @@ -299,6 +299,6 @@ kwargs: If it is a [[shared_library]] it defaults to "lib", and may be "lib", "dylib", "cdylib", or "proc-macro". If "lib" then Rustc will pick a default, "cdylib" means a C ABI library, "dylib" means a Rust ABI, and - "proc-macro" is a special rust proceedural macro crate. + "proc-macro" is a special rust procedural macro crate. "proc-macro" is new in 0.62.0. diff --git a/docs/yaml/functions/install_headers.yaml b/docs/yaml/functions/install_headers.yaml index 50e1c55..65489d2 100644 --- a/docs/yaml/functions/install_headers.yaml +++ b/docs/yaml/functions/install_headers.yaml @@ -67,6 +67,6 @@ kwargs: since: 0.63.0 default: false description: | - Disable stripping child-direcories from header files when installing. + Disable stripping child-directories from header files when installing. This is equivalent to GNU Automake's `nobase` option. diff --git a/docs/yaml/functions/project.yaml b/docs/yaml/functions/project.yaml index a18e878..59595cd 100644 --- a/docs/yaml/functions/project.yaml +++ b/docs/yaml/functions/project.yaml @@ -82,7 +82,7 @@ kwargs: For backwards compatibility reasons you can also pass an array of licenses here. This is not recommended, as it is ambiguous: `license : - ['Apache-2.0', 'GPL-2.0-only']` instead use an SPDX espression: `license + ['Apache-2.0', 'GPL-2.0-only']` instead use an SPDX expression: `license : 'Apache-2.0 OR GPL-2.0-only'`, which makes it clear that the license mean OR, not AND. diff --git a/docs/yaml/objects/build_tgt.yaml b/docs/yaml/objects/build_tgt.yaml index 6ca43f3..73b9b5d 100644 --- a/docs/yaml/objects/build_tgt.yaml +++ b/docs/yaml/objects/build_tgt.yaml @@ -53,7 +53,7 @@ methods: deprecated: 0.59.0 description: | Does the exact same as [[build_tgt.full_path]]. **NOTE**: This - function is solely kept for compatebility with [[@external_program]] objects. + function is solely kept for compatibility with [[@external_program]] objects. It will be removed once the, also deprecated, corresponding `path()` function in the [[@external_program]] object is removed. diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml index abf86aa..4bf69c3 100644 --- a/docs/yaml/objects/compiler.yaml +++ b/docs/yaml/objects/compiler.yaml @@ -485,7 +485,7 @@ methods: default: "'off'" description: | Supported values: - - `'off'`: Quietely ignore unsupported arguments + - `'off'`: Quietly ignore unsupported arguments - `'warn'`: Print a warning for unsupported arguments - `'require'`: Abort if at least one argument is not supported @@ -544,7 +544,7 @@ methods: # default: "'off'" # description: | # Supported values: - # - `'off'`: Quietely ignore unsupported arguments + # - `'off'`: Quietly ignore unsupported arguments # - `'warn'`: Print a warning for unsupported arguments # - `'require'`: Abort if at least one argument is not supported diff --git a/docs/yaml/objects/module.yaml b/docs/yaml/objects/module.yaml index cd98faa..518c1aa 100644 --- a/docs/yaml/objects/module.yaml +++ b/docs/yaml/objects/module.yaml @@ -4,7 +4,7 @@ description: | Base type for all modules. Modules provide their own specific implementation methods, but all modules - proivide the following methods: + provide the following methods: methods: - name: found -- cgit v1.1