rougail-output-doc/tests/docs/examples/16_5redefine_remove_disable_calculation.md

45 lines
600 B
Markdown
Raw Normal View History

2024-11-15 08:13:45 +01:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/01-base.yml
```yaml
---
version: '1.1'
variable:
redefine: true
disabled: false
```
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
condition: no # a condition
variable:
description: a variable
disabled:
jinja: |
{% if _.condition == "yes" %}
true
{% else %}
false
{% endif %}
```
# Example with mandatory variables not filled in
```yaml
---
rougail:
variable: example
```
# Example with all variables modifiable
```yaml
---
rougail:
condition: no
variable: example
```