File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,8 @@ tasks:
243
243
protoc:docs :
244
244
desc : Generate docs for protobuf definitions
245
245
cmds :
246
- - ' {{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,commands.md --proto_path=rpc ./rpc/cc/arduino/cli/commands/v1/*.proto'
246
+ - |
247
+ buf generate --template buf.doc.gen.yaml
247
248
248
249
docs:include-configuration-json-schema :
249
250
desc : Copy configuration JSON schema to make it available in documentation
Original file line number Diff line number Diff line change
1
+ version : v2
2
+ plugins :
3
+ # Local plugin used to generate docs
4
+ # go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.4.1
5
+ - local : protoc-gen-doc
6
+ out : ./docs/rpc
7
+ opt :
8
+ - markdown,commands.md
9
+ inputs :
10
+ - directory : ./rpc
You can’t perform that action at this time.
0 commit comments