And I run command like /usr/local/bin/protoc --proto_path=./ --plugin=protoc-gen-doc=/root/gocode/bin/protoc-gen-doc --doc_out=markdown,temp.md:. temp.proto. In the output doc (either markdown or html), MessageB.ChildMessage.GrandEnum & MessageB.ChildMessage.GrandMessage is missing both in table of contents and in document body.
The output markdown of table of contents is like this (missing GrandMessage & GrandEnum):
## Table of Contents
- [temp.proto](#temp.proto)
- [MessageA](#.MessageA)
- [MessageB](#.MessageB)
- [MessageB.ChildMessage](#.MessageB.ChildMessage)
- [MessageA.ChildEnum](#.MessageA.ChildEnum)
- [Scalar Value Types](#scalar-value-types)
It seems to me that the recursive level (embedded level) is limited to < 3 when parsing inner messages / enums, is there any concern of infinite loop or something? Can this limitation be customized by input param? Thanks!
I have a temp.proto like this:
And I run command like
/usr/local/bin/protoc --proto_path=./ --plugin=protoc-gen-doc=/root/gocode/bin/protoc-gen-doc --doc_out=markdown,temp.md:. temp.proto
. In the output doc (either markdown or html), MessageB.ChildMessage.GrandEnum & MessageB.ChildMessage.GrandMessage is missing both in table of contents and in document body.The output markdown of table of contents is like this (missing GrandMessage & GrandEnum):
It seems to me that the recursive level (embedded level) is limited to < 3 when parsing inner messages / enums, is there any concern of infinite loop or something? Can this limitation be customized by input param? Thanks!