pseudomuto / protoc-gen-doc

Documentation generator plugin for Google Protocol Buffers
MIT License
2.61k stars 462 forks source link

Follow the README but get error 'File not found' #400

Open cooljacket opened 5 years ago

cooljacket commented 5 years ago

When I run the command in README, the shell tells:

> docker run --rm \
  -v $(pwd)/examples/doc:/out \
  -v $(pwd)/examples/proto:/protos \
  pseudomuto/protoc-gen-doc

google/api/annotations.proto: File not found.
github.com/mwitkow/go-proto-validators/validator.proto: File not found.
Booking.proto: Import "google/api/annotations.proto" was not found or had errors.
Booking.proto: Import "github.com/mwitkow/go-proto-validators/validator.proto" was not found or had errors.
Merteg commented 4 years ago

Look at this issue: https://github.com/pseudomuto/protoc-gen-doc/issues/330