KiBot/tests/yaml_samples/kibom_1.kibot.yaml

68 lines
1.6 KiB
YAML

# Example KiBot config file
kibot:
version: 1
outputs:
- name: 'bom_html'
comment: "Bill of Materials in HTML format"
type: kibom
dir: BoM
options:
format: CSV # HTML or CSV
variant: pp
conf:
ignore_dnf: False
html_generate_dnf: False
use_alt: True
number_rows: False
group_connectors: False
test_regex: False
merge_blank_fields: False
fit_field: 'Configure'
datasheet_as_link: 'manf#'
hide_headers: False
hide_pcb_info: True
digikey_link:
- digikey#
- digikey_alt#
group_fields:
- Part
- Part Lib
component_aliases:
- ['r', 'r_small', 'res', 'resistor']
- ['l', 'l_small', 'inductor']
- - c
- c_small
- cap
- capacitor
include_only:
- column: 'References'
regex: 'C.*'
exclude_any:
- column: References
regex: '^TP[0-9]*'
- column: References
regex: '^FID'
- column: Part
regex: 'mount.*hole'
- column: Part
regex: 'solder.*bridge'
- column: Part
regex: 'test.*point'
- column: Footprint
regex: 'test.*point'
- column: Footprint
regex: 'mount.*hole'
- column: Footprint
regex: 'fiducial'
columns:
- References
- field: Value
name: Valor
- Part
- field: Description
join:
- Footprint
- Footprint Lib