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

38 lines
1.4 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
condition: true # a condition
var:
description: a variable
mandatory:
type: variable
variable: _.condition
----
== Variables for "rougail"
[cols="110a,110a",options="header"]
|====
| Variable | Description
|
**rougail.condition** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
A condition. +
**Default**: True
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` _`mandatory`_ |
A variable. +
**Mandatory**: when the variable "rougail.condition" has the value "True".
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
condition: true
var: example
----