rougail-output-doc/tests/docs/examples/60_5family_dynamic_calc_suffix.md

664 B

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'

var1:
  description: A suffix variable
  default:
    - val1
    - val2

dyn{{ identifier }}:
  dynamic:
    variable: _.var1

  var:
    description: A dynamic variable

var2:
  description: A variable calculated
  default:
    variable: rougail.dynval1.var

Example with mandatory variables not filled in

---
rougail:
  dynval1:
    var: example
  dynval2:
    var: example

Example with all variables modifiable

---
rougail:
  var1:
    - val1
    - val2
  dynval1:
    var: example
  dynval2:
    var: example
  var2: example