diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-30 13:20:59 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-30 13:26:57 +0200 |
commit | 708b83a029b1c2ae91ad6426d45b6723893e1427 (patch) | |
tree | edf5bd6e1cccc01f57572620d96beeafbbe3a175 /docs/markdown/Configuration.md | |
parent | f0fbb31ccfa78ca1d7b7f9cedfbb090bf36d3e64 (diff) | |
download | meson-docrewrap.tar.gz |
Rewrap long text lines in docs. [skip ci]docrewrap
Diffstat (limited to 'docs/markdown/Configuration.md')
-rw-r--r-- | docs/markdown/Configuration.md | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/markdown/Configuration.md b/docs/markdown/Configuration.md index cd1af14d1..a2fc63957 100644 --- a/docs/markdown/Configuration.md +++ b/docs/markdown/Configuration.md @@ -115,19 +115,20 @@ 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 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 [standard-encodings](https://docs.python.org/3/library/codecs.html#standard-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 +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 +[standard-encodings](https://docs.python.org/3/library/codecs.html#standard-encodings). ## Using dictionaries -Since *0.49.0* `configuration_data()` takes an optional dictionary as first -argument. If provided, each key/value pair is added into the +Since *0.49.0* `configuration_data()` takes an optional dictionary as +first argument. If provided, each key/value pair is added into the `configuration_data` as if `set()` method was called for each of them. -`configure_file()`'s `configuration` kwarg also accepts a dictionary instead of -a configuration_data object. +`configure_file()`'s `configuration` kwarg also accepts a dictionary +instead of a configuration_data object. Example: ```meson |