Add doc generation workflow
All checks were successful
docs-generation / docs-generation (pull_request) Successful in 20s
All checks were successful
docs-generation / docs-generation (pull_request) Successful in 20s
This commit is contained in:
parent
7961323b1b
commit
1ad511c7fb
22
.gitea/workflows/doc-generation.yml
Normal file
22
.gitea/workflows/doc-generation.yml
Normal file
@ -0,0 +1,22 @@
|
||||
name: docs-generation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
# paths:
|
||||
# - '**.sch'
|
||||
# - '**.kicad_pcb'
|
||||
|
||||
jobs:
|
||||
docs-generation:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: INTI-CMNB/KiBot@v1.8.1
|
||||
with:
|
||||
config: config.kibot.yaml
|
||||
schema: 'HyperLink.kicad_sch'
|
||||
board: 'HyperLink.kicad_pcb'
|
||||
- name: upload results
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: 'Update Docs'
|
||||
50
config.kibot.yaml
Normal file
50
config.kibot.yaml
Normal file
@ -0,0 +1,50 @@
|
||||
kibot:
|
||||
version: 1
|
||||
|
||||
outputs:
|
||||
- name: 'schematic pdf'
|
||||
comment: 'Schematic pdf generation'
|
||||
type: 'pdf_sch_print'
|
||||
dir: 'doc/generated'
|
||||
- name: 'schematic svg'
|
||||
comment: 'Schematic pdf generation'
|
||||
type: 'svg_sch_print'
|
||||
dir: 'doc/generated'
|
||||
options:
|
||||
background_color: true
|
||||
- name: 'pcbdraw top svg'
|
||||
comment: 'PCB top image generation'
|
||||
type: 'pcbdraw'
|
||||
dir: 'doc/generated'
|
||||
options:
|
||||
bottom: false
|
||||
style: 'set-blue-cu'
|
||||
show_components: 'none'
|
||||
- name: 'pcbdraw top pdn'
|
||||
comment: 'PCB top image generation'
|
||||
type: 'pcbdraw'
|
||||
dir: 'doc/generated'
|
||||
options:
|
||||
format: 'png'
|
||||
dpi: 600
|
||||
bottom: false
|
||||
style: 'set-blue-cu'
|
||||
show_components: 'none'
|
||||
- name: 'pcbdraw bottom svg'
|
||||
comment: 'PCB bottom image generation'
|
||||
type: 'pcbdraw'
|
||||
options:
|
||||
bottom: true
|
||||
style: 'set-blue-cu'
|
||||
show_components: 'none'
|
||||
dir: 'doc/generated'
|
||||
- name: 'pcbdraw bottom png'
|
||||
comment: 'PCB bottom image generation'
|
||||
type: 'pcbdraw'
|
||||
options:
|
||||
format: 'png'
|
||||
dpi: 600
|
||||
bottom: true
|
||||
style: 'set-blue-cu'
|
||||
show_components: 'none'
|
||||
dir: 'doc/generated'
|
||||
Loading…
Reference in New Issue
Block a user