From ec5fe58e6dd0f42f126b48d1ebd191deeea38541 Mon Sep 17 00:00:00 2001 From: Stephen Gregoratto Date: Fri, 26 Feb 2021 15:54:49 +1100 Subject: Allow printing UserOptions in the summary --- docs/markdown/Reference-manual.md | 1 + docs/markdown/snippets/summary-accepts-features.md | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 docs/markdown/snippets/summary-accepts-features.md (limited to 'docs') 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. -- cgit v1.1