56 lines
1.5 KiB
Text
56 lines
1.5 KiB
Text
|
== dictionaries/rougail/00-base.yml
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
version: '1.1'
|
||
|
variable1: # a first variable
|
||
|
- a
|
||
|
- b
|
||
|
- c
|
||
|
variable2:
|
||
|
description: a second variable
|
||
|
choices:
|
||
|
type: variable
|
||
|
variable: _.variable1
|
||
|
----
|
||
|
== Variables for "rougail"
|
||
|
|
||
|
[cols="105a,105a",options="header"]
|
||
|
|====
|
||
|
| Variable | Description
|
||
|
|
|
||
|
**rougail.variable1** +
|
||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
||
|
A first variable. +
|
||
|
**Default**:
|
||
|
|
||
|
* a
|
||
|
* b
|
||
|
* c
|
||
|
|
|
||
|
**rougail.variable2** +
|
||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `basic` `mandatory` |
|
||
|
A second variable. +
|
||
|
**Choices**: the value of the variable "rougail.variable1".
|
||
|
|====
|
||
|
|
||
|
|
||
|
== Example with mandatory variables not filled in
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
rougail:
|
||
|
variable2: a_choice
|
||
|
----
|
||
|
== Example with all variables modifiable
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
rougail:
|
||
|
variable1:
|
||
|
- a
|
||
|
- b
|
||
|
- c
|
||
|
variable2: a_choice
|
||
|
----
|