【发布时间】:2011-06-23 15:51:16
【问题描述】:
可能重复:
Code documentation for delphi similar to javadoc or c# xml doc
我想开始记录一个非常大的 Delphi 应用程序,它目前没有任何文档。我的同事建议使用 javadoc 类型的文档样式,因为然后我们可以运行一个自动化程序来创建可搜索且看起来很漂亮的漂亮文档。
(* Description of the function
@param S some string
@param Index the index of string s
@retval TRUE condition where it is true
@retval FALSE otherwise.
@see IndexOf
@see Sort
@see Sorted
*)
bool Stringlist::Find(const char *S, int &Index)
{
[...]
}
这是为我的项目完成有意义的文档的最佳方式吗?如果是这样,什么是处理这些类型的 cmets 的好程序。到目前为止,我已经向我推荐了Doc-O-Matic。
如果有任何用途,该程序已经很老了,它自 1993 年左右以来一直在不断开发,并且经历了许多不同的作者、许多不同的风格、IDE、标准等。
【问题讨论】:
-
您是在记录应用程序还是它的代码?
-
我正在记录代码
标签: delphi documentation javadoc