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

43 lines
3.9 KiB
Markdown

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