protoc-gen-doc

Documentation generator plugin for Google Protocol Buffers

brewmacoslinux
Try with needOr install directly
Source

About

Documentation generator plugin for Google Protocol Buffers

Commands

protoc-gen-doc

Examples

Generate HTML documentation from a .proto file$ protoc --doc_out=html,index.html:./docs --proto_path=. myservice.proto
Generate Markdown documentation with custom template$ protoc --doc_out=markdown,README.md:./docs --proto_path=. *.proto
Generate JSON documentation for programmatic access$ protoc --doc_out=json,schema.json:./docs --proto_path=. myservice.proto