Browse Source

add links to gerbers in docs

Thomas Buck 7 months ago
parent
commit
014ea64a18
5 changed files with 16 additions and 0 deletions
  1. 8
    0
      docs/generate_docs.sh
  2. 2
    0
      docs/src/pcb1.md
  3. 2
    0
      docs/src/pcb1_pcb.md
  4. 2
    0
      docs/src/pcb2.md
  5. 2
    0
      docs/src/pcb2_pcb.md

+ 8
- 0
docs/generate_docs.sh View File

@@ -35,10 +35,16 @@ if [ "$1" = "build" ] ; then
35 35
     echo "Generating plots"
36 36
     ../pcb/generate_plot.sh
37 37
     echo
38
+    echo "Generating fab"
39
+    ../pcb/generate_fab.sh
40
+    echo
38 41
 
39 42
     echo "Generating plots 2"
40 43
     ../pcb2/generate_plot.sh
41 44
     echo
45
+    echo "Generating fab 2"
46
+    ../pcb2/generate_fab.sh
47
+    echo
42 48
 
43 49
     echo "Generating stls"
44 50
     ../3dprint/generate_stls.sh
@@ -48,6 +54,8 @@ fi
48 54
 rm -rf src/plot
49 55
 cp -r ../pcb/plot src
50 56
 cp -r ../pcb2/plot/* src/plot/
57
+cp ../pcb/fab.zip src/plot/fab_pcb.zip
58
+cp ../pcb2/fab.zip src/plot/fab_pcb2.zip
51 59
 
52 60
 rm -rf src/stl
53 61
 cp -r ../3dprint/stl src

+ 2
- 0
docs/src/pcb1.md View File

@@ -5,3 +5,5 @@ It's a single sided PCB layout suitable for hand etching at home.
5 5
 
6 6
 [![hand etching prototype pcb](https://www.xythobuz.de/img/lars_13_small.jpg)](https://www.xythobuz.de/img/lars_13.jpg)
7 7
 [![assembled prototype](https://www.xythobuz.de/img/lars_10_small.jpg)](https://www.xythobuz.de/img/lars_10.jpg)
8
+
9
+You can also [download the Gerber files to order PCBs online](./plot/fab_pcb.zip).

+ 2
- 0
docs/src/pcb1_pcb.md View File

@@ -2,6 +2,8 @@
2 2
 
3 3
 This page shows the current version of the PCB layout as SVG graphics.
4 4
 
5
+You can [download the Gerber files to order PCBs online](./plot/fab_pcb.zip).
6
+
5 7
 ## 2D PCB Layout
6 8
 
7 9
 You can also view the [2D PCB layout as PDF](./plot/drumkit.kicad_pcb.pdf).

+ 2
- 0
docs/src/pcb2.md View File

@@ -1,3 +1,5 @@
1 1
 # LARS V2
2 2
 
3 3
 **TODO** this is a work in progress
4
+
5
+You can [download the Gerber files to order PCBs online](./plot/fab_pcb2.zip).

+ 2
- 0
docs/src/pcb2_pcb.md View File

@@ -2,6 +2,8 @@
2 2
 
3 3
 This page shows the current version of the PCB layout as SVG graphics.
4 4
 
5
+You can [download the Gerber files to order PCBs online](./plot/fab_pcb2.zip).
6
+
5 7
 ## 2D PCB Layout
6 8
 
7 9
 You can also view the [2D PCB layout as PDF](./plot/lars2.kicad_pcb.pdf).

Loading…
Cancel
Save