File tree Expand file tree Collapse file tree 5 files changed +318
-0
lines changed Expand file tree Collapse file tree 5 files changed +318
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
# Misc.
22
22
.DS_Store
23
+
24
+ # Mkdocs
25
+ /public /
26
+ /docsgen /arduino-cli
Original file line number Diff line number Diff line change
1
+ version : ' 2'
2
+
3
+ tasks :
4
+ gen:commands :
5
+ desc : Generate commands reference
6
+ cmds :
7
+ # docs will generate examples using os.Args[0] so we need to call
8
+ # the generator `arduino-cli`
9
+ - go build -o arduino-cli
10
+ # we invoke `arduino-cli` like this instead of `./arduino-cli` to remove
11
+ # the `./` chars from the examples
12
+ - PATH=. arduino-cli ../docs/commands
Original file line number Diff line number Diff line change
1
+ module github.com/arduino/arduino-cli/docsgen
2
+
3
+ go 1.13
4
+
5
+ require (
6
+ github.com/arduino/arduino-cli v0.0.0-20200228161349-4b874a02b096
7
+ github.com/spf13/cobra v0.0.6
8
+ )
You can’t perform that action at this time.
0 commit comments