protoc-gen-doc icon indicating copy to clipboard operation
protoc-gen-doc copied to clipboard

I can't get the struct detail which is imported from other proto file

Open cnjack opened this issue 5 years ago • 2 comments

for example:

import "xxx/core/list_settings.proto"
message BookList {
    core.ListPagination setting = 1;
}

I can just get that:

| Field | Type | Description |
| ----- | ---- | ----------- |
| setting | [core.ListPagination](#core.ListPagination)  |  |
Field Type Description
setting core.ListPagination

but it has't the detail of the #core.ListPagination

cnjack avatar May 25 '20 09:05 cnjack

@estan

cnjack avatar May 27 '20 01:05 cnjack

Have the same issue. I can resolve by including the referenced proto files directly when creating documentation but somewhat cumbersome and leads to a bunch of noise in the documentation if the other proto files have a bunch of messages not used by the ones I'm creating documentation for.

plaisted avatar Jun 18 '20 17:06 plaisted