From db22551ed9d2dd7889abea01cc1c7bba02bf1c75 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 12 Aug 2024 08:00:00 +0000 Subject: [PATCH] docs: fix a few grammar and formatting issues --- docs/markdown/Build-options.md | 2 +- docs/markdown/Configuration.md | 4 ++-- docs/markdown/Release-notes-for-0.63.0.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md index 56b2693b8..d615db689 100644 --- a/docs/markdown/Build-options.md +++ b/docs/markdown/Build-options.md @@ -155,7 +155,7 @@ option('o5', type: 'boolean', deprecated: {'enabled': 'true', 'disabled': 'false ``` Since *0.63.0* the `deprecated` keyword argument can take the name of a new option -that replace this option. In that case, setting a value on the deprecated option +that replaces this option. In that case, setting a value on the deprecated option will set the value on both the old and new names, assuming they accept the same values. diff --git a/docs/markdown/Configuration.md b/docs/markdown/Configuration.md index 48f071e6c..fd19e0a69 100644 --- a/docs/markdown/Configuration.md +++ b/docs/markdown/Configuration.md @@ -87,7 +87,7 @@ endif ## Configuring without an input file If the input file is not defined then Meson will generate a header -file all the entries in the configuration data object. The +file with all the entries in the configuration data object. The replacements are the same as when generating `#mesondefine` entries: ```meson @@ -116,7 +116,7 @@ Will produce: ## Dealing with file encodings The default Meson file encoding to configure files is utf-8. If you -need to configure a file that is not utf-8 encoded the encoding +need to configure a file that is not utf-8 encoded the `encoding` keyword will allow you to specify which file encoding to use. It is however strongly advised to convert your non utf-8 file to utf-8 whenever possible. Supported file encodings are those of python3, see diff --git a/docs/markdown/Release-notes-for-0.63.0.md b/docs/markdown/Release-notes-for-0.63.0.md index 3b47ff4eb..ed0239e5c 100644 --- a/docs/markdown/Release-notes-for-0.63.0.md +++ b/docs/markdown/Release-notes-for-0.63.0.md @@ -47,7 +47,7 @@ ptr_size = meson.get_compiler('d').sizeof('void*') ## Deprecate an option and replace it with a new one The `deprecated` keyword argument can now take the name of a new option -that replace this option. In that case, setting a value on the deprecated option +that replaces this option. In that case, setting a value on the deprecated option will set the value on both the old and new names, assuming they accept the same values.