Skip to content

Add support for wireviz #21

Open
Open
@viktorfreiman

Description

@viktorfreiman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions