rougail-output-doc/tests/docs/base/16_5test_redefine.md

65 lines
6.3 KiB
Markdown
Raw Normal View History

2024-07-10 21:27:48 +02:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
var1: no # a first variable
var2:
description: a second variable
test:
- test
default: non
var3:
description: a third variable
test:
- test
```
# dictionaries/rougail/10-base.yml
```yaml
---
version: '1.1'
var1:
redefine: true
test:
- test1
var2:
redefine: true
test:
- test1
var3:
redefine: true
test:
```
# Variables for "rougail"
| Variable                                                                                                | Description                                                                                             |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: no<br/>**Example**: test1 |
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Default**: non<br/>**Example**: test1 |
| **rougail.var3**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A third variable. |
# Example with mandatory variables not filled in
```yaml
---
rougail:
var1: test1
var2: test1
var3: example
```
# Example with all variables modifiable
```yaml
---
rougail:
var1: test1
var2: test1
var3: example
```