rougail-output-doc/tests/docs/no_namespace/40_6leadership_follower_multi.adoc

62 lines
2.1 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.0'
leadership:
description: A leadership
type: leadership
leader:
description: The leader
multi: true
follower1:
description: The first follower
multi: true
follower2:
description: The second follower
multi: true
default:
- value
----
== Variables
=== A leadership
`basic`
This family contains lists of variable blocks.
[cols="119a,119a",options="header"]
|====
| Variable | Description
|
**leadership.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `unique` `multiple` |
The leader.
|
**leadership.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `multiple` |
The first follower.
|
**leadership.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `multiple` |
The second follower. +
**Default**:
* value
|====
== Example with all variables modifiable
[,yaml]
----
leadership:
- leader: example
follower1:
- example
follower2:
- value
----