rougail-output-doc/tests/docs/base/16_5exists_nonexists.adoc

44 lines
1.3 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/01-base.yml
[,yaml]
----
version: '1.1'
var2:
description: a new variable
exists: false
default: yes
----
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var1: no # a variable
----
== Variables for "rougail"
[cols="108a,108a",options="header"]
|====
| Variable | Description
|
**rougail.var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A variable. +
**Default**: no
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A new variable. +
**Default**: yes
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
var1: no
var2: yes
----