rougail-output-doc/tests/docs/base/60_9extra_dynamic.adoc
2024-08-05 14:38:59 +02:00

75 lines
2 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: 1.1
var: # a variable
- a
----
== dictionaries/extra/00-base.yml
[,yaml]
----
version: 1.1
dyn_{{ suffix }}:
type: dynamic
dynamic:
type: variable
variable: rougail.var
var:
----
== Variables for "rougail"
[cols="128a,128a",options="header"]
|====
| Variable | Description
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A variable. +
**Default**:
* a
|====
== Variables for "extra"
=== "dyn__a_"
`basic`
This family builds families dynamically.
**Suffixes**: the value of the variable "rougail.var".
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**extra.dyn_a.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
Var.
|====
== Example with mandatory variables not filled in
[,yaml]
----
extra:
dyn_a:
var: example
----
== Example with all variables modifiable
[,yaml]
----
rougail:
var:
- a
extra:
dyn_a:
var: example
----