rougail-output-doc/tests/docs/base/60_6family_dynamic_leadership.adoc

75 lines
2.7 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var: # a suffix variable
- val1
- val2
dyn{{ identifier }}:
2024-07-10 21:27:48 +02:00
description: a dynamic family
dynamic:
variable: _.var
leadership:
description: a leadership
type: leadership
leader:
description: a leader
multi: true
follower1:
description: a follower1
mandatory: false
follower2:
description: a follower2
mandatory: false
----
== Variables for "rougail"
2024-07-10 21:27:48 +02:00
[cols="96a,96a",options="header"]
|====
| Variable | Description
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A suffix variable. +
**Default**:
2024-07-10 21:27:48 +02:00
* val1
* val2
|====
=== a dynamic family
`basic`
This family builds families dynamically.
**Identifiers**: the value of the variable "rougail.var".
2024-07-10 21:27:48 +02:00
==== a leadership
`basic`
This family contains lists of variable blocks.
[cols="96a,96a",options="header"]
|====
| Variable | Description
|
**rougail.dynval1.leadership.leader** or **rougail.dynval2.leadership.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A leader.
|
**rougail.dynval1.leadership.follower1** or **rougail.dynval2.leadership.follower1** +
2024-07-10 21:27:48 +02:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower1.
|
**rougail.dynval1.leadership.follower2** or **rougail.dynval2.leadership.follower2** +
2024-07-10 21:27:48 +02:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower2.
|====