rougail-output-doc/tests/docs/no_namespace/16_6choice_redefine.md

43 lines
3.9 KiB
Markdown
Raw Normal View History

2024-07-10 21:27:48 +02:00
---
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
| Variable                                                                                                   | Description                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **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
---
var: c
```