diff options
author | Magnus Henoch <[email protected]> | 2012-07-25 18:04:11 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2012-08-08 10:01:45 +0200 |
commit | 715bb8044600ec16ad6ba97de9d033f6a5c06bfe (patch) | |
tree | eaf84199fd9048d0bd8709229ca79e13f637b507 /prebuild.skip | |
parent | 4968de7826816b4a9eac94fd8776fe4b7454ca14 (diff) | |
download | otp-715bb8044600ec16ad6ba97de9d033f6a5c06bfe.tar.gz otp-715bb8044600ec16ad6ba97de9d033f6a5c06bfe.tar.bz2 otp-715bb8044600ec16ad6ba97de9d033f6a5c06bfe.zip |
List behaviour callbacks in Edoc when using -callback attribute
Defining a behaviour_info/1 function is no longer the only way to
define a behaviour; you can use -callback attributes as well. This
change makes edoc aware of the latter, such that the module
documentation page for a behaviour module will list the name and arity
of the required callback functions.
Ideally, edoc should use the type information present in the callback
attributes, but with this change, the documentation is at least no
worse than when using an explicit behaviour_info function.
Diffstat (limited to 'prebuild.skip')
0 files changed, 0 insertions, 0 deletions