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 pour "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` `obligatoire` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A suffix variable. +
**Défaut**:
2024-07-10 21:27:48 +02:00
* val1
* val2
|====
=== a dynamic family
`basic`
This family builds families dynamically.
**Identifiers**: la valeur de la 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** ou **rougail.dynval2.leadership.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A leader.
|
**rougail.dynval1.leadership.follower1** ou **rougail.dynval2.leadership.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower1.
|
**rougail.dynval1.leadership.follower2** ou **rougail.dynval2.leadership.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower2.
|====