docs: fix a few grammar and formatting issues

pull/8551/merge
Dmitry V. Levin 4 months ago committed by Jussi Pakkanen
parent 8ef4e34cae
commit db22551ed9
  1. 2
      docs/markdown/Build-options.md
  2. 4
      docs/markdown/Configuration.md
  3. 2
      docs/markdown/Release-notes-for-0.63.0.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.

@ -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

@ -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.

Loading…
Cancel
Save