Skip to content

Commit 5f9f3d2

Browse files
Remove docs generation from protos (#1369)
* Trigger github action * Remove proto docs generation from Makefile * make protoc-ci
1 parent 95f3b8e commit 5f9f3d2

21 files changed

+20
-1173
lines changed

Makefile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ clean:
123123
protoc:
124124
@go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
125125
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
126-
@go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.5
127126
@go mod tidy
128127
make protoc-gen-all
129128
.PHONY: protoc
@@ -136,7 +135,7 @@ protoc-ci: protoc-gen-all
136135
@git diff-index -G"^[^\/]|^[\/][^\/]" --quiet HEAD
137136
.PHONY: proto-ci
138137

139-
protoc-gen-all: protoc-gen-code protoc-gen-docs protoc-gen-plugin
138+
protoc-gen-all: protoc-gen-code protoc-gen-plugin
140139
.PHONY: protoc-gen-all
141140

142141
# Generate protobuf go code
@@ -152,17 +151,6 @@ protoc-gen-code:
152151
@echo "Successfully compiled proto files"
153152
.PHONY: protoc-compile
154153

155-
# Generate protobuf docs
156-
protoc-gen-docs:
157-
@protoc \
158-
--doc_out=./docs/rpc \
159-
--doc_opt=markdown,commands.md \
160-
--proto_path ./rpc \
161-
./rpc/*.proto \
162-
|| (printf ${PROTOC_FAILURE_MESSAGE}; exit 1)
163-
@echo "Successfully generated proto docs"
164-
.PHONY: protoc-docs
165-
166154
protoc-gen-plugin:
167155
@protoc \
168156
--go_out=pkg/plugins \

0 commit comments

Comments
 (0)