kroki icon indicating copy to clipboard operation
kroki copied to clipboard

Add support for wireviz

Open viktorfreiman opened this issue 1 year ago • 0 comments

The build fails for wireviz

/workspaces/project/docs/test.rst:4: ERROR: Error in "kroki" directive:
invalid option value: (option: "type"; value: 'wireviz')
'dict_keys' object is not subscriptable.

.. kroki::
    :type: wireviz

        connectors:
        X1:
            type: D-Sub
            subtype: female
            pinlabels: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI]
        X2:
            type: Molex KK 254
            subtype: female
            pinlabels: [GND, RX, TX]

        cables:
        W1:
            gauge: 0.25 mm2
            length: 0.2
            color_code: DIN
            wirecount: 3
            shield: true

        connections:
        -
            - X1: [5,2,3]
            - W1: [1,2,3]
            - X2: [1,3,2]
        -
            - X1: 5
            - W1: s

viktorfreiman avatar Jan 25 '24 22:01 viktorfreiman