Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: auto-generate the pb code and api-reference docs based on the proto files #764

Merged
merged 8 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,13 @@ clean:
proto.doc:
@$(MAKE) proto.gen.doc

# ==============================================================================
## proto: Generate code and documentation based on the proto files.
# ==============================================================================
.PHONY: proto
proto:
@$(MAKE) proto.gen.all

# ==============================================================================
## proto.init: Install protoc-gen-go and protoc-gen-go-grpc
# ==============================================================================
Expand Down
5 changes: 1 addition & 4 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@
- [Pub/Sub API](en/building_blocks/pubsub/reference.md)
- [RPC API](en/building_blocks/rpc/reference.md)
- [Configuration API](en/building_blocks/configuration/reference.md)
- API reference
- [spec/proto/runtime/v1/runtime.proto](https://github.com/mosn/layotto/blob/main/docs/en/api_reference/runtime_v1.md)
- [spec/proto/runtime/v1/appcallback.proto](https://github.com/mosn/layotto/blob/main/docs/en/api_reference/appcallback_v1.md)
- [spec/proto/extension/v1/oss.proto](https://github.com/mosn/layotto/blob/main/docs/en/api_reference/oss_v1.md)
- [API reference](en/api_reference/README)
- SDK reference
- [java sdk](https://github.com/layotto/java-sdk)
- [.net sdk](https://github.com/layotto/dotnet-sdk)
Expand Down
Loading