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

47 lines
3.8 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
| Variable                                                                                                | Description                                                                                             |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **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
---
variable: a_choice
```
# Example with all variables modifiable
```yaml
---
variable: a_choice
```