pseudomuto / protoc-gen-doc

Documentation generator plugin for Google Protocol Buffers
MIT License
2.63k stars 464 forks source link

Example for single file does not work. #455

Open TwoClocks opened 3 years ago

TwoClocks commented 3 years ago

The example given in the docs for running a single file does not work.

steps to reproduce: 1) Install docker image 2) clone this repro 3) Run command from docs in the root directly of the repro

➜  protoc-gen-doc git:(master) docker run --rm \
  -v $(pwd)/examples/doc:/out \
  -v $(pwd)/examples/proto:/protos \
  pseudomuto/protoc-gen-doc --doc_opt=markdown,docs.md /protos/Booking.proto
/protos/Booking.proto: No such file or directory

Result: get "No such file or Directory" error.

DespiteDeath commented 3 years ago

Same issue