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

48 lines
3.9 KiB
Markdown

---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
variable:
description: a variable
choices:
- a
- b
- c
```
# dictionaries/rougail/01-redefine.yml
```yaml
---
version: '1.0'
variable:
redefine: true
choices:
- a
- b
```
# Variables for "rougail"
| Variable                                                                                                | Description                                                                                             |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.variable**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>- a<br/>- b |
# Example with mandatory variables not filled in
```yaml
---
rougail:
variable: a_choice
```
# Example with all variables modifiable
```yaml
---
rougail:
variable: a_choice
```