godoc pass external reference file containing documentation for code without comments

51 Views Asked by At

Instead of comments written in the code itself, is it possible to pass an external reference file to the godoc command containing the documentation for any uncommented code?

The requirement here is that we need to generate documentation for a codebase that does not have any proper comments within the code and we also want to keep changes to the source files to a minimum.

Any other approach which fits this requirement is welcome. No strict rule to use godoc

0

There are 0 best solutions below