rougail-output-doc/tests/docs/no_namespace/20_0multi_family_order.adoc

82 lines
3 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== 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
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**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
|
**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
|
**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
|
**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]
----
variable: example
family:
variable1: example
subfamily:
variable: example
variable2: example
----
== Example with all variables modifiable
[,yaml]
----
variable: example
family:
variable1: example
subfamily:
variable: example
variable2: example
----