aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-01 19:30:10 +0200
committerGitHub <noreply@github.com>2020-03-01 19:30:10 +0200
commit200738a3e6b48671aac2865c304dded96179e4ac (patch)
tree19fa53590c21d39162c65718ea57da37f2a3219f /docs
parent9e40a0125c3bd558fbd29da8715d334d787c1a4d (diff)
parent8101b0ddab1dea8de3b2588a4b75da525865c404 (diff)
downloadmeson-200738a3e6b48671aac2865c304dded96179e4ac.zip
meson-200738a3e6b48671aac2865c304dded96179e4ac.tar.gz
meson-200738a3e6b48671aac2865c304dded96179e4ac.tar.bz2
Merge pull request #6692 from xclaesse/summary-warnings
Summary improvements
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Reference-manual.md3
-rw-r--r--docs/markdown/snippets/summary.md8
2 files changed, 10 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 475b711..ff82164 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 0000000..67f29da
--- /dev/null
+++ b/docs/markdown/snippets/summary.md
@@ -0,0 +1,8 @@
+## 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.
+
+The automatic `subprojects` section now also print the number of warnings encountered
+during that subproject configuration, or the error message if the configuration failed.