我有一个php(doxygen.php)文件,我想要文档。问题是我在Linux上运行doxygen doxygen.php
它不会生成任何内容... index.html文件是空的。我得到Doxygen PHP错误
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;
}
?>
你运行的是什么版本的doxygen? – FatherStorm 2010-12-16 13:30:17