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

51 lines
1.8 KiB
Text
Raw Normal View History

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