rougail-output-doc/tests/docs/base/40_0leadership_follower_default_submulti_calculation.adoc

66 lines
2.2 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: # the leader
- leader
follower1: # the follower1
- value
follower2:
description: the follower2
multi: true
default:
type: variable
variable: _.follower1
----
== Variables for "rougail"
=== a leadership
`standard`
This family contains lists of variable blocks.
[cols="119a,119a",options="header"]
|====
| Variable | Description
|
**rougail.leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
The leader. +
**Default**:
* leader
|
**rougail.leader.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `multiple` |
The follower1. +
**Default**:
* value
|
**rougail.leader.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `multiple` |
The follower2. +
**Default**: the value of the variable "rougail.leader.follower1".
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
leader:
- leader: leader
follower1:
- value
follower2:
- value
----