We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add53b5 commit 365cab9Copy full SHA for 365cab9
Taskfile.yml
@@ -243,7 +243,8 @@ tasks:
243
protoc:docs:
244
desc: Generate docs for protobuf definitions
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'
+ - |
247
+ buf generate --template buf.doc.gen.yaml
248
249
docs:include-configuration-json-schema:
250
desc: Copy configuration JSON schema to make it available in documentation
buf.doc.gen.yaml
@@ -0,0 +1,10 @@
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
0 commit comments