rougail-output-doc/tests/docs/base/16_5exists_nonexists.md
2024-08-05 14:38:59 +02:00

37 lines
5 KiB
Markdown

---
gitea: none
include_toc: true
---
# dictionaries/rougail/01-base.yml
```yaml
---
version: '1.1'
var2:
description: a new variable
exists: false
default: yes
```
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
var1: no # a variable
```
# Variables for "rougail"
| Variable                                                                                                   | Description                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Default**: no |
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A new variable.<br/>**Default**: yes |
# Example with all variables modifiable
```yaml
---
rougail:
var1: no
var2: yes
```