rougail-output-doc/tests/docs/no_namespace/00_2default_calculated.adoc

33 lines
1.4 KiB
Text
Raw Permalink Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: 1.1
var1: no # a first variable
var2:
description: a second variable
multi: true
default:
jinja: |
{{ _.var1 }}
description: the value of var1
----
== Variables
[cols="130a,130a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A first variable. +
**Défaut**: no
2024-07-10 21:27:48 +02:00
|
**var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A second variable. +
**Défaut**: the value of var1.
2024-07-10 21:27:48 +02:00
|====