Closed ariddell closed 8 years ago
How about this one: https://github.com/estan/protoc-gen-doc/
That looks great.
I suppose we also need to write & generate documentation for the shim functions.
On 12/28, Krzysztof Sakrejda wrote:
How about this one: https://github.com/estan/protoc-gen-doc/
Reply to this email directly or view it on GitHub: https://github.com/sakrejda/protostan/issues/5#issuecomment-167629156
Yep, I think using whatever Stan uses for those is fine (doxygen?)
Ok, close this after we:
Had started working on this, didn't realize I didn't claim it.
Turns out protoc-gen-doc is not straightforward to install from source so I can't just add it as a submodule and make it go. It relies on qmake to produce the makefile and the qmake project file is hard-coded to look for system libraries. I'm not going to go through incorporating it into the makefile at this point. We can follow this format for writing the documentation comments and it'll be easier to install once protobuf-3 is the mainline system protobuf (so in a few to six months (?)).
What's the best way to document the proto files and the shim C++ files? It would be nice to automatically generate HTML docs for future interface writers.