我有一个php (doxygen.php)文件,我想记录下来。问题是,当我在linux上运行doxygen doxygen.php时,它没有生成anything...index.html文件是空的。我得到了
Warning: ignoring unknown tag `php' at line 1, file doxygen.php
Warning: ignoring unknown tag `does' at line 4, file doxygen.php
Warning: ignoring unknown tag `nothing' at line 4, file doxygen.php
....它似乎不能正确地识别评论。我的doxygen.php文件包含以下内容:
<?php
/* does nothing
* @param teste
* @return null
*/
function foo($foo) {
echo 'hi'.$foo;
return null;
}
?>发布于 2010-12-16 21:27:03
当使用doxygen时,你必须用
/** ...*/
或者/*!...*/
请参阅doxygen "documenting the code"页面
发布于 2010-12-16 21:14:10
试一试
/**
* does nothing
*
* @param teste
* @return null
*/https://stackoverflow.com/questions/4461076
复制相似问题