aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2022-10-23 21:54:47 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-10-24 11:17:18 +0200
commit9c4d6088b1f061c7cd8dba00eda5e72427ad3d0e (patch)
tree97e8bcdd609a78870c21f580600939ea7a358c69 /docs
parent4f4076bfc0dacbc5f804ad2d970054ab43d162b3 (diff)
downloadmeson-9c4d6088b1f061c7cd8dba00eda5e72427ad3d0e.zip
meson-9c4d6088b1f061c7cd8dba00eda5e72427ad3d0e.tar.gz
meson-9c4d6088b1f061c7cd8dba00eda5e72427ad3d0e.tar.bz2
Accept disablers in summary values
They are commonly used as a replacement for a `dependency`, and not accepting them in `summary` breaks the last example in [1] when used as a value. [1] https://mesonbuild.com/Disabler.html#disabling-parts-of-the-build
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/summary-disabler.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/snippets/summary-disabler.md b/docs/markdown/snippets/summary-disabler.md
new file mode 100644
index 0000000..97b8d0f
--- /dev/null
+++ b/docs/markdown/snippets/summary-disabler.md
@@ -0,0 +1,3 @@
+## `summary()` accepts disablers
+
+Disabler options can be passed to `summary()` as the value to be printed.