Sign inSign up

xakep666/docker-protoc-gen-doc

By xakep666

•Updated about 9 years ago

Tiny container to generate documentation from .proto files.

Image
0

860

xakep666/docker-protoc-gen-doc repository overview

⁠protoc-gen-doc

Simple container to generate documentation from .proto files.

⁠Usage

Suppose you have your proto files in ~/proto and you want to generate HTML documentation:

docker run --rm -v $HOME/proto:/src -v $HOME/docs:/docs xakep666/docker-protoc-gen-doc sh -c "protoc --doc_out=html,index.html:/docs *.proto"

Running above command will create folder named docs and put index.html file into it.

⁠Other formats

See https://github.com/pseudomuto/protoc-gen-doc#invoking-the-plugin⁠

Tag summary

Content type

Image

Digest

Size

23.2 MB

Last updated

about 9 years ago

docker pull xakep666/docker-protoc-gen-doc