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

56 lines
1.2 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
dyn{{ suffix }}:
description: a dynamic family
type: dynamic
dynamic:
- val1
- val2
var: # a variable inside a dynamic family
----
== Variables
=== a dynamic family
`basic`
This family builds families dynamically.
**Suffixes**:
* val1
* val2
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**dynval1.var** ou **dynval2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A variable inside a dynamic family.
|====
== Example with mandatory variables not filled in
[,yaml]
----
dynval1:
var: example
dynval2:
var: example
----
== Example with all variables modifiable
[,yaml]
----
dynval1:
var: example
dynval2:
var: example
----