Documentation文档化(转)

用于创建erlang文档的方法。

edoc:application/2: Creates documentation for a typical Erlang application.

edoc:packages/2: Creates documentation for one or more packages, automatically locating source files.

edoc:files/2: Creates documentation for a specified set of source files.

edoc:run/3: General interface function; the common back-end for the above functions. Options are documented here.


Module tag (模块注解标记)
@author
@copyright
@doc   (description of the module)
@referenct (give further information, can include XHTML format). "<a href="http://.../"> abcd </a>"
@version
@since (when this module introduced in the system)
@hidden or @private
@title
@see 


Function tag (方法注解标记)

@spec (give the type of function, same as the -spec)
@doc (general document for a function, can use the XHTML markup)
@throws
@deprecated
@hidden
@private
@since


Generic tag (一般通常标记)

@type (give a definition of type, same as -type)
@todo (not appear in the document, unless the todo option is actives)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值