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

71 lines
2.7 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
---
2024-07-10 21:27:48 +02:00
version: '1.1'
variable: value # a variable
----
== dictionaries/extra/00-base.yml
[,yaml]
----
---
2024-07-10 21:27:48 +02:00
version: '1.1'
variable1:
description: a first variable
default:
variable: rougail.variable
variable2:
description: a second variable
default:
jinja: |
{{ rougail.variable }}
description: copy the value of rougail.variable
variable3:
description: a third variable
default:
jinja: |
{{ variable }}
params:
variable:
variable: rougail.variable
description: copy the value of rougail.variable
----
== Variables for "rougail"
2024-07-10 21:27:48 +02:00
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.variable** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A variable. +
**Default**: value
2024-07-10 21:27:48 +02:00
|====
== Variables for "extra"
2024-07-10 21:27:48 +02:00
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**extra.variable1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A first variable. +
**Default**: the value of the variable "rougail.variable".
2024-07-10 21:27:48 +02:00
|
**extra.variable2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A second variable. +
**Default**: copy the value of rougail.variable.
2024-07-10 21:27:48 +02:00
|
**extra.variable3** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A third variable. +
**Default**: copy the value of rougail.variable.
2024-07-10 21:27:48 +02:00
|====