diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-02-25 10:19:50 -0500 |
|---|---|---|
| committer | Xavier Claessens <xavier.claessens@collabora.com> | 2020-02-26 14:24:12 -0500 |
| commit | c175e97a8862be5c87196aa94cb911975c84cf84 (patch) | |
| tree | 8d91387586ce9714bc9d8ec30bff09b2322652a3 /docs | |
| parent | f66b04b0996eae5cd7b0ad007435d5a51f28b691 (diff) | |
| download | meson-c175e97a8862be5c87196aa94cb911975c84cf84.tar.gz | |
summary: Add list_sep keyword argument
This allows having lists on a single line instead of having each value
aligned on a new line.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/Reference-manual.md | 3 | ||||
| -rw-r--r-- | docs/markdown/snippets/summary.md | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 475b711f3..ff8216424 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1239,9 +1239,10 @@ pair doesn't appear twice. All sections will be collected and printed at the end of the configuration in the same order as they have been called. Keyword arguments: +- `section` title to group a set of key/value pairs. - `bool_yn` if set to true, all boolean values will be replaced by green YES or red NO. -- `section` title to group a set of key/value pairs. +- `list_sep` *Since 0.54.0* string used to separate list values (e.g. `', '`). Example: ```meson diff --git a/docs/markdown/snippets/summary.md b/docs/markdown/snippets/summary.md new file mode 100644 index 000000000..2ab799625 --- /dev/null +++ b/docs/markdown/snippets/summary.md @@ -0,0 +1,5 @@ +## Summary improvements + +A new `list_sep` keyword argument has been added to `summary()` function. +If defined and the value is a list, elements will be separated by the provided +string instead of being aligned on a new line. |
