From 58daab21cd043e1dc37024a7f99b396788372918 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Mar 2024 14:19:48 +0100 Subject: Merging upstream version 1.44.3. Signed-off-by: Daniel Baumann --- integrations/templates/metrics.md | 4 ++-- integrations/templates/setup.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'integrations/templates') diff --git a/integrations/templates/metrics.md b/integrations/templates/metrics.md index d8df98779..8a75d7317 100644 --- a/integrations/templates/metrics.md +++ b/integrations/templates/metrics.md @@ -1,7 +1,7 @@ [% if entry.metrics.scopes %] ## Metrics -[% if entry.metrics.folding.enabled %] +[% if entry.metrics.folding.enabled and not clean %] {% details summary="[[ entry.metrics.folding.title ]]" %} [% endif %] Metrics grouped by *scope*. @@ -39,7 +39,7 @@ Metrics: [% endfor %] [% endfor %] -[% if entry.metrics.folding.enabled %] +[% if entry.metrics.folding.enabled and not clean %] {% /details %} [% endif %] [% else %] diff --git a/integrations/templates/setup.md b/integrations/templates/setup.md index e2318ed85..1f15c1da3 100644 --- a/integrations/templates/setup.md +++ b/integrations/templates/setup.md @@ -59,7 +59,7 @@ There is no configuration file. [[ entry.setup.configuration.options.description ]] [% if entry.setup.configuration.options.list %] -[% if entry.setup.configuration.options.folding.enabled %] +[% if entry.setup.configuration.options.folding.enabled and not clean %] {% details summary="[[ entry.setup.configuration.options.folding.title ]]" %} [% endif %] | Name | Description | Default | Required | @@ -76,7 +76,7 @@ There is no configuration file. [% endif %] [% endfor %] -[% if entry.setup.configuration.options.folding.enabled %] +[% if entry.setup.configuration.options.folding.enabled and not clean %] {% /details %} [% endif %] [% elif not entry.setup.configuration.options.description %] @@ -91,13 +91,13 @@ There are no configuration options. [[ example.description ]] -[% if example.folding.enabled %] +[% if example.folding.enabled and not clean %] {% details summary="[[ entry.setup.configuration.examples.folding.title ]]" %} [% endif %] ```yaml [[ example.config ]] ``` -[% if example.folding.enabled %] +[% if example.folding.enabled and not clean %] {% /details %} [% endif %] [% endfor %] -- cgit v1.2.3