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

54 lines
1.1 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== 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"
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**rougail.variable** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `basic` `mandatory` |
A variable. +
**Choices**:
* a
* b
|====
== Example with mandatory variables not filled in
[,yaml]
----
rougail:
variable: a_choice
----
== Example with all variables modifiable
[,yaml]
----
rougail:
variable: a_choice
----