# KiBot output for generating Interactive HTML BoM
# https://kibot.readthedocs.io/en/latest/configuration/outputs/ibom.html

kibot:
  version: 1

outputs:
- name: @NAME@
  comment: '@COMMENT@'
  type: bom
  category: '@DIR@'
  dir: '@DIR@'
  options:
    format: HTML
    html:
      title: 'Bill of Materials'
      datasheet_as_link: "Datasheet"
      lcsc_link: true
      logo: false
      style: modern-blue

    group_fields: ['@MPN_FIELD@', 'Value']

    columns:
      - "Row"
      - "Quantity Per PCB"
      - "References"
      - "Value"
      - "Datasheet"
      - "Footprint"
      - "Description"
      - "@IPN_FIELD@"
      - "@MAN_FIELD@"
      - "@MPN_FIELD@"
      - "LCSC"
      # - "arrow#"
      # - "digikey#"
      # - "farnell#"
      # - "mouser#"
      # - "newark#"
      # - "rs#"
      # - "tme#"

...
definitions:
  NAME: html_bom
  COMMENT: BOM in HTML format
  DIR: mfg/assembly
  IPN_FIELD: 'Asymworks IPN'
  MPN_FIELD: 'Manufacturer PN'
  MAN_FIELD: 'Manufacturer'