'Why is edoc unable to discover callbacks?
For some time we are able to declare behaviour callback using -callback attribute instead of behaviour_info/1 (which in my opinion is more convenient). But, the edoc application seems to be unable to discover such attribute. Still, release notes suggested, that this issue was already fixed in version 0.7.10 (http://www.erlang.org/doc/apps/edoc/notes.html). Did anyone encounter similar problem and was able to overcome it?
Solution 1:[1]
I think the open issue 3211 is talking about a similar issue.
There is a comment mentioning that commit 715bb80 enables edocs to identify callbacks, but I am also seeing this functionality in the brod project -- hexdocs.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | sdc |