Update Connector Mapping for new version of interactive-pinout (#415)
* add directory field * id -> cid
This commit is contained in:
parent
0051788b97
commit
f466b12c96
|
@ -33,9 +33,10 @@ The 'info' section contains information which is used to generate the interactiv
|
|||
|
||||
|field |description|required for|
|
||||
|---------|-----------|------------|
|
||||
|id |contains a short name for the connector, to be used in the URL when linking to a particular pin|pinouts|
|
||||
|cid |contains a short name for the connector, to be used in the URL when linking to a particular pin|pinouts|
|
||||
|image |subsection which contains a single field, 'file', which contains the filename of the image, which is stored in the same directory as the YAML|pinouts|
|
||||
|pins |subsection with a list of the pins' locations on the image. Its fields are 'pin', which matches to an 'id' in the main 'pins' section, 'x' and 'y', which are the coordinates on the image|pinouts|
|
||||
|directory|contains the target directory for the page. Only one connector for a particular board needs this field|pinouts|
|
||||
|title |contains the title for the page. Only one connector for a particular board needs this field|informational|
|
||||
|board_url|contains a URL for documentation, which will be placed as a link on the top of the page. Only one connector for a particular board needs this field|informational|
|
||||
|name |contains a human-readable name for the connector|informational|
|
||||
|
|
Loading…
Reference in New Issue