WireViz/examples/jinja/connectors.yml
Liam Beguin 4d9346a365
Some checks failed
Create Examples / build (3.7) (push) Has been cancelled
Create Examples / build (3.8) (push) Has been cancelled
Add jinja2 preprocessor stage
This allows users to leverage jinja to include other files but also
loops, conditions, and other templating features.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2024-06-09 17:53:54 -04:00

8 lines
136 B
YAML

connectors:
{%- for i in range(1, 5) %}
X{{i}}:
type: Molex KK 254
subtype: female
pinlabels: [GND, RX, TX]
{%- endfor %}