rougail-output-doc/tests/root/00_file.yml

50 lines
932 B
YAML
Raw Normal View History

2025-10-27 21:59:39 +01:00
%YAML 1.2
---
version: 1.1
a_family: # first family
a_second_family: # a second family
a_variable: true # a boolean variable
an_other_family:
description: an other family
hidden:
variable: _.a_second_family.a_variable
a_variable:
description: a new variable
default:
variable: ___.a_variable
2026-02-01 21:11:08 +01:00
2026-03-29 12:42:01 +02:00
a_new_variable:
description: a new variable 2
default:
jinja: |-
{{ ___.a_variable }}
description: the value of "___.a_variable"
2025-10-27 21:59:39 +01:00
a_variable: 2 # a root variable
2026-02-01 21:11:08 +01:00
a_dynamic_{{ identifier }}:
2026-03-29 12:42:01 +02:00
description: a dynamic {{ identifier }}
2026-02-01 21:11:08 +01:00
dynamic:
- family1
- family2
2026-03-29 12:42:01 +02:00
a_variable: a_value # a variable
2026-02-01 21:11:08 +01:00
2026-03-29 12:42:01 +02:00
a_subfamily: # a sub family
2026-02-01 21:11:08 +01:00
2026-03-29 12:42:01 +02:00
a_variable: a_value # a variable
2026-02-01 21:11:08 +01:00
a_subdyn_{{ identifier }}:
2026-03-29 12:42:01 +02:00
description: a dynamic {{ identifier }}
2026-02-01 21:11:08 +01:00
dynamic:
- family3
- family4
2026-03-29 12:42:01 +02:00
a_variable: a_value # a variable
2025-10-27 21:59:39 +01:00
...