rougail-output-doc/tests/docs/base/00_9default_information_other_variable.adoc

47 lines
1.5 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var1: # a first variable
var2:
description: a second variable
default:
type: information
information: test_information
variable: _.var1
----
== Variables for "rougail"
[cols="108a,108a",options="header"]
|====
| Variable | Description
|
**rougail.var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A first variable.
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A second variable. +
**Default**: value of the information.
|====
== Example with mandatory variables not filled in
[,yaml]
----
rougail:
var1: example
var2: example
----
== Example with all variables modifiable
[,yaml]
----
rougail:
var1: example
var2: example
----