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

56 lines
1.9 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.0'
leader:
description: A leadership
type: leadership
leader:
description: A leader
multi: true
mandatory: false
follower1:
description: a follower1
mandatory: false
follower2:
description: a follower2
mode: basic
----
== Variables for "rougail"
=== A 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]` `basic` `unique` `multiple` |
A leader.
|
**rougail.leader.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower1.
|
**rougail.leader.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A follower2.
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
leader:
- leader: example
follower1: example
follower2: example
----