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

57 lines
1.5 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.0'
leader:
description: The leadership
type: leadership
leader:
description: The leader
multi: true
mandatory: false
follower1:
type: choice
description: A follower
choices:
- a
- b
- c
----
== Variables for "rougail"
=== The leadership
`basic`
This family contains lists of variable blocks.
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**rougail.leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `unique` `multiple` |
The leader.
|
**rougail.leader.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `basic` `mandatory` |
A follower. +
**Choices**:
* a
* b
* c
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
leader:
- leader: example
follower1: a_choice
----