rougail-output-doc/tests/docs/base/00_6choice_variable.adoc
2024-08-05 14:38:59 +02:00

50 lines
1.4 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var1: # a second variable
- a
- b
- c
var2:
description: a first variable
default: a
choices:
type: variable
variable: _.var1
----
== Variables for "rougail"
[cols="108a,108a",options="header"]
|====
| Variable | Description
|
**rougail.var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A second variable. +
**Default**:
* a
* b
* c
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` |
A first variable. +
**Choices**: the value of the variable "rougail.var1". +
**Default**: a
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
var1:
- a
- b
- c
var2: a
----