doctree
doctree copied to clipboard
Go indexer: only parse top-level comment
Comment(s) that is not written directly above a particular function should be omitted.
Case in point: https://github.com/gorilla/mux/blob/3cf0d013e53d62a96c096366d300c84489c26dd5/mux.go#L406-L410
At doctree:
At godoc:
This is just my assumption, feel free to close the issue if this is working as expected 😄
100% agree, this is a bug! If you're keen to try debugging it, feel free to!