我有以下 doxygen 文件:
/** @mainpage PConnect
@section s_definition Definition
This guide is the main documentation of Pascal/Delphi Connector Wrapper for the CGM Assist.
@section s_definition Definition
The PConnect gives you the ability to use the Connector of the CGM-Assist by using Pascal/Delphi functions.
@note For further information take a look into the "Implementation Guide"
*/
现在我尝试生成这个 .dox 文件,但我总是把它作为输出:
Definition
This guide is the main documentation of /Delphi Connector Wrapper for the CGM Assist.
Definition
The PConnect gives you the ability to use the Connector of the CGM-Assist by using /Delphi . @ " "
你有什么想法,为什么它总是删掉“帕斯卡”?为什么它不写完整的内容?
另一个奇怪的克制是,如果我只是这样写:
{* @brief A simple Key/Value Record
* @param key Key
* @param value Value to the key
}
Map = record
var key: PAnsiChar;
var value: PAnsiChar;
end;
然后它不会显示文档中的记录。但是,如果我在此之前写另一条记录,例如:
//Only if this record is written here, the "Map" will be shown in documentation xD
Test = Record
var test: PAnsiChar;
end;
{* @brief A simple Key/Value Record
* @param key Key
* @param value Value to the key
}
Map = record
var key: PAnsiChar;
var value: PAnsiChar;
end;
然后它在文档中显示记录“地图”。
PS:我使用 pas2dox 作为源代码文档。