rougail-output-doc/tests/docs/base/24_0family_hidden_condition_boolean.adoc

50 lines
936 B
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'
condition: false # a conditional variable
family:
description: a family
hidden:
jinja: |
{% if not rougail.condition %}
condition is false
{% endif %}
description: if not condition
variable:
description: a variable
mandatory: false
2024-07-10 21:27:48 +02:00
----
2024-11-15 08:13:45 +01:00
== Variables for "Rougail"
2024-07-10 21:27:48 +02:00
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
2024-07-10 21:27:48 +02:00
**rougail.condition** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A conditional variable. +
2024-11-15 08:13:45 +01:00
**Default**: false
2024-07-10 21:27:48 +02:00
|====
=== a family
2024-11-15 08:13:45 +01:00
`standard` `__hidden__`
2024-07-10 21:27:48 +02:00
**Hidden**: if not condition.
2024-07-10 21:27:48 +02:00
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
2024-07-10 21:27:48 +02:00
**rougail.family.variable** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
A variable.
2024-07-10 21:27:48 +02:00
|====