summaryrefslogtreecommitdiffstats
path: root/integrations/templates/setup.md
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/templates/setup.md')
-rw-r--r--integrations/templates/setup.md8
1 files changed, 4 insertions, 4 deletions
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 %]