SchrodingersGat / KiBoM

Configurable BoM generation tool for KiCad EDA (http://kicad.org/)
MIT License
352 stars 95 forks source link

Adds an option to make a column to contain datasheet links #112

Closed set-soft closed 1 year ago

set-soft commented 3 years ago

Replaces #79

Description

Having a separated column for the datasheet is an overkill. We can make that another column contains this information as a link. The part number is a suitable column.

This patch allows configuring it.

How to use

Define the datasheet_as_link option in the configuration file (i.e. bom.ini).

The value for this option is the column you want to convert into a link to the datasheet. Example:

datasheet_as_link = manf#

This will make entries in the column manf# (manufacturer part number) links to the datasheet.

Limitations

Only available for HTML

set-soft commented 3 years ago

Rebased it so it can cleanly apply. I saw a chunk of code missing from the "digikey_link_2" patch, but I plan to fix it with anoter PR. But I need this merged or the other will be pure conflicts ;-)

SchrodingersGat commented 3 years ago

Hi @set-soft please fix issues with preferences.py cheers

set-soft commented 3 years ago

Hi @SchrodingersGat ! Ok, I did a rebase using your current HEAD. Solved the conflict with ref_separator now you should be able to apply it.

SchrodingersGat commented 3 years ago

Thanks @set-soft - looks like there's a small style error though - https://travis-ci.org/github/SchrodingersGat/KiBoM/jobs/758740224

set-soft commented 1 year ago

Hi @SchrodingersGat ! I didn't notice the https://travis-ci.org/github/SchrodingersGat/KiBoM/jobs/758740224 link, and now the logs are gone. Running flake8 on my system doesn't report errors.

SchrodingersGat commented 1 year ago

@set-soft yeah this one is from a while ago. As it is passing now, I'm happy to merge it in.