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

630 B

Table of Contents

dictionaries/rougail/00-base.yml

---
general:
  description: général
  varname:
    type: string
    description: No change
    multi: true
    default:
      - a
version: '1.0'

dictionaries/extra/00-base.yml

---
version: '1.1'
var:  # a varaible
  - a
dyn_{{ identifier }}:
  dynamic:
    variable: _.var
  var:

Example with mandatory variables not filled in

---
extra:
  dyn_a:
    var: example

Example with all variables modifiable

---
rougail:
  general:
    varname:
      - a
extra:
  var:
    - a
  dyn_a:
    var: example