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

49 lines
3.9 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'
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
```