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

66 lines
1.8 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.0'
var:
description: A suffix variable
multi: true
default:
- val1
- val2
dyn:
type: dynamic
variable: rougail.var
vardyn:
description: Dynamic variable
mandatory: false
----
== Variables for "rougail"
[cols="96a,96a",options="header"]
|====
| 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
|====
=== "dyn_val1_" ou "dyn_val2_"
`standard`
This family builds families dynamically.
**Suffixes**: the value of the variable "rougail.var".
[cols="96a,96a",options="header"]
|====
| Variable | Description
|
**rougail.dynval1.vardyn** ou **rougail.dynval2.vardyn** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
Dynamic variable.
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
var:
- val1
- val2
dynval1:
vardyn: example
dynval2:
vardyn: example
----