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

570 B

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
var:  # A identifier variable
  - val1
  - val2
dyn{{ identifier }}:
  description: A dynamic family
  dynamic:
    variable: _.var
  var:
    description: A dynamic variable
    default:
      jinja: |
        {{ identifier }}        
      params:
        identifier:
          type: identifier
      description: from suffix

Example with all variables modifiable

---
rougail:
  var:
    - val1
    - val2
  dynval1:
    var: val1
  dynval2:
    var: val2