From 2b0fc3988466d1df451ba9da2e0def50649f89a2 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 9 Nov 2024 21:50:51 +0100 Subject: [PATCH] docs: add interactive BOM --- .drone.yml | 26 + bom/ibom.html | 4669 +++++++++++++++++++++++++++++++++++++++++++++++ ibom.config.ini | 31 + 3 files changed, 4726 insertions(+) create mode 100644 .drone.yml create mode 100644 bom/ibom.html create mode 100644 ibom.config.ini diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0295ea8 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +--- + +kind: pipeline +type: docker +name: default + +steps: + - name: deploy BOM + image: appleboy/drone-scp + settings: + host: dragon.luj0ga.de + port: 4222 + username: www-data + key: + from_secret: ssh_key + passphrase: + from_secret: ssh_passphrase + target: /var/www/bom.ljg.sh/${DRONE_REPO_NAME} + source: bom/ibom.html + strip_components: 1 + overwrite: yes + when: + event: + - push + branch: + - main diff --git a/bom/ibom.html b/bom/ibom.html new file mode 100644 index 0000000..64b64cb --- /dev/null +++ b/bom/ibom.html @@ -0,0 +1,4669 @@ + + + + + + + Interactive BOM for KiCAD + + + + + + +
+
+
+ + + + + + + + + + + +
+ Title + + Revision +
+ Company + + Date +
+
+
+ +
+ + + +
+
+ + + +
+
+ + + +
+ + +
+
+
+
+
+
+
+
+
+
+ + +
+ +
+
+
+ + + + + +
+
+
+
+
+ + + + +
+
+
+
+ + + + +
+
+
+
+
+ + + + diff --git a/ibom.config.ini b/ibom.config.ini new file mode 100644 index 0000000..32e42bd --- /dev/null +++ b/ibom.config.ini @@ -0,0 +1,31 @@ +[html_defaults] +dark_mode=1 +show_pads=1 +show_fabrication=0 +show_silkscreen=1 +redraw_on_drag=1 +highlight_pin1=selected +board_rotation=0 +offset_back_rotation=0 +checkboxes=Sourced,Placed +bom_view=left-right +layer_view=FB +compression=1 +open_browser=1 +[general] +bom_dest_dir=bom +bom_name_format=ibom +component_sort_order=C,R,L,D,U,Y,X,F,SW,A,~,HS,CNN,J,P,NT,MH +component_blacklist= +blacklist_virtual=1 +blacklist_empty_val=0 +include_tracks=0 +include_nets=0 +[fields] +show_fields=Value,Footprint +group_fields=Value,Footprint +normalize_field_case=0 +board_variant_field= +board_variant_whitelist= +board_variant_blacklist= +dnp_field=