Skip to content

Commit 420c626

Browse files
committed
Document Component() symbol-inherited defaults in spec
Update parameter table: footprint, skip_bom, and datasheet now document their symbol-derived defaults inline.
1 parent 41faef9 commit 420c626

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/pages/spec.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,12 @@ Component(
253253
| `prefix` | no | Reference designator prefix (default: `"U"`) |
254254
| `manufacturer` | no | Manufacturer name (legacy — prefer `part`) |
255255
| `mpn` | no | Manufacturer part number (legacy — prefer `part`) |
256-
| `footprint` | no | PCB footprint path (usually omit — inferred from symbol) |
256+
| `footprint` | no | PCB footprint path (default: inferred from symbol `Footprint` property) |
257257
| `type` | no | Component type string |
258258
| `properties` | no | Additional properties dict |
259259
| `dnp` | no | Do Not Populate flag |
260-
| `skip_bom` | no | Exclude from BOM |
260+
| `skip_bom` | no | Exclude from BOM (default: inverse of symbol `in_bom` flag) |
261+
| `datasheet` | no | Datasheet path (default: symbol `Datasheet` property; local paths resolved relative to the `.kicad_sym` file) |
261262
### Part
262263

263264
`Part` specifies manufacturer sourcing for a component. It is a prelude symbol — available in all `.zen` files without `load()`.

0 commit comments

Comments
 (0)