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

57 lines
985 B
Text
Raw Normal View History

== dictionaries/rougail/00-base.yml
[,yaml]
----
---
version: '1.1'
var:
description: A suffix variable
multi: true
test:
- val1
- val2
dyn{{ identifier }}:
description: A dynamic family
dynamic:
variable: _.var
var: # A dynamic variable
----
2024-11-15 08:13:45 +01:00
== Variables for "Rougail"
[cols="1a,1a"]
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
|
2024-11-15 08:13:45 +01:00
**rougail.var** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `unique` `multiple` |
A suffix variable. +
**Examples**:
* val1
2024-11-15 08:13:45 +01:00
* val2
|====
=== A dynamic family
`basic`
This family builds families dynamically.
**Identifiers**: the value of the variable "rougail.var".
[cols="1a,1a"]
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
|
2024-11-15 08:13:45 +01:00
**rougail.dyn__val1__.var** +
**rougail.dyn__val2__.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A dynamic variable.
|====