rougail-output-doc/tests/docs/examples/00_9extra_calculation.md

785 B

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
variable: value  # a variable

dictionaries/extra/00-base.yml

---
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

Example with all variables modifiable

---
rougail:
  variable: value
extra:
  variable1: value
  variable2: value
  variable3: value