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

80 lines
1.6 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
---
2024-07-10 21:27:48 +02:00
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
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
2024-07-10 21:27:48 +02:00
**var** +
2024-11-15 08:13:45 +01:00
`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
2024-11-15 08:13:45 +01:00
* val2
2024-07-10 21:27:48 +02:00
|====
=== a dynamic family
`basic`
This family builds families dynamically.
**Identifiers**: the value of the variable "var".
2024-07-10 21:27:48 +02:00
==== a leadership
`basic`
This family contains lists of variable blocks.
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
**dyn__val1__.leadership.leader** +
**dyn__val2__.leadership.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `unique` `multiple` |
A leader.
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
**dyn__val1__.leadership.follower1** +
**dyn__val2__.leadership.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower1.
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
**dyn__val1__.leadership.follower2** +
**dyn__val2__.leadership.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A follower2.
|====
2024-07-10 21:27:48 +02:00