rougail-output-doc/tests/docs/no_namespace/40_0leadership_follower_default_value.adoc
2024-08-05 14:38:59 +02:00

46 lines
1.4 KiB
Text

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