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

83 lines
3.1 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
variable: # a variable
family: # a family
variable1: # a first variable
subfamily: # a sub family
variable: # a variable
variable2: # a second variable
----
== Variables for "rougail"
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**rougail.variable** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A variable.
|====
=== a family
`basic`
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**rougail.family.variable1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A first variable.
|====
==== a sub family
`basic`
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**rougail.family.subfamily.variable** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A variable.
|====
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**rougail.family.variable2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A second variable.
|====
== Example with mandatory variables not filled in
[,yaml]
----
rougail:
variable: example
family:
variable1: example
subfamily:
variable: example
variable2: example
----
== Example with all variables modifiable
[,yaml]
----
rougail:
variable: example
family:
variable1: example
subfamily:
variable: example
variable2: example
----