aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStephen Gregoratto <dev@sgregoratto.me>2021-02-26 15:54:49 +1100
committerXavier Claessens <xclaesse@gmail.com>2021-02-26 10:28:00 -0500
commitec5fe58e6dd0f42f126b48d1ebd191deeea38541 (patch)
tree6e442e0fa8ae90baa99eabb57b9be36d4f6e74a3 /docs
parentace22f21a7f0abe9250e673a258e4adf3afa4ac0 (diff)
downloadmeson-ec5fe58e6dd0f42f126b48d1ebd191deeea38541.zip
meson-ec5fe58e6dd0f42f126b48d1ebd191deeea38541.tar.gz
meson-ec5fe58e6dd0f42f126b48d1ebd191deeea38541.tar.bz2
Allow printing UserOptions in the summary
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Reference-manual.md1
-rw-r--r--docs/markdown/snippets/summary-accepts-features.md3
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index b0f5032..4c30ddd 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1356,6 +1356,7 @@ dictionaries does not guarantee ordering. `key` must be string,
- an integer, boolean or string
- *since 0.57.0* an external program or a dependency
+- *since 0.58.0* a feature option
- a list of those.
`summary()` can be called multiple times as long as the same
diff --git a/docs/markdown/snippets/summary-accepts-features.md b/docs/markdown/snippets/summary-accepts-features.md
new file mode 100644
index 0000000..81bf542
--- /dev/null
+++ b/docs/markdown/snippets/summary-accepts-features.md
@@ -0,0 +1,3 @@
+## `summary()` accepts features
+
+Build feature options can be passed to `summary()` as the value to be printed.