Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
24d896ca06
1 changed files with 5 additions and 0 deletions
|
@ -131,6 +131,11 @@ def generate_api(cli):
|
||||||
if keymap_rel is None:
|
if keymap_rel is None:
|
||||||
cli.log.debug('Skipping keymap %s (not in qmk_firmware)', keymap)
|
cli.log.debug('Skipping keymap %s (not in qmk_firmware)', keymap)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if (keymap_rel / 'keymap.c').exists():
|
||||||
|
cli.log.debug('Skipping keymap %s (not pure dd keymap)', keymap)
|
||||||
|
continue
|
||||||
|
|
||||||
kb_json['keymaps'][keymap.name] = {
|
kb_json['keymaps'][keymap.name] = {
|
||||||
# TODO: deprecate 'url' as consumer needs to know its potentially hjson
|
# TODO: deprecate 'url' as consumer needs to know its potentially hjson
|
||||||
'url': f'https://raw.githubusercontent.com/qmk/qmk_firmware/master/{keymap_rel}/keymap.json',
|
'url': f'https://raw.githubusercontent.com/qmk/qmk_firmware/master/{keymap_rel}/keymap.json',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue