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

79 lines
1.7 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
---
version: '1.1'
var: # a suffix variable
- val1
- val2
dyn{{ identifier }}:
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"
[cols="1a,1a"]
|====
| Variable | Description
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A suffix variable. +
**Default**:
* val1
* val2
|====
=== a dynamic family
`basic`
This family builds families dynamically.
**Identifiers**: the value of the variable "rougail.var".
==== a leadership
`basic`
This family contains lists of variable blocks.
[cols="1a,1a"]
|====
| Variable | Description
|
**rougail.dyn__val1__.leadership.leader** +
**rougail.dyn__val2__.leadership.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `unique` `multiple` |
A leader.
|
**rougail.dyn__val1__.leadership.follower1** +
**rougail.dyn__val2__.leadership.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower1.
|
**rougail.dyn__val1__.leadership.follower2** +
**rougail.dyn__val2__.leadership.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower2.
|====