properly generate tables maybe

This commit is contained in:
Jack Humbert 2017-08-07 16:04:06 -04:00
parent 1b4b5e5c66
commit 993427e58b
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# Keyboard Identifiers
|Keyboard|Vendor ID|Product ID|Device Ver|
| ------ |--------:| --------:| --------:|
|alps64|0xFEED|0x6464|0x0001|
|amj40|0xFEED|0x6072|0x0002|
|amj60|0xFEED|0x6066|0x0001|

View File

@ -1,7 +1,8 @@
#/bin/bash
echo "# Keyboard Identifiers
|Keyboard|Vendor ID|Product ID|Device Ver|" > docs/keyboard_identifiers.md
|Keyboard|Vendor ID|Product ID|Device Ver|
| ------ |--------:| --------:| --------:|" > docs/keyboard_identifiers.md
for project in $(find . -regex '\./keyboards/[a-z0-9_\-]+/config.h')
do
keyboard_name=$(printf $project | sed -r "s/\.\/keyboards\/([a-zA-Z0-9_\-]+).*/\1/g")