如何使用phpdoc制作文档

时间:2011-02-28 07:39:56

标签: php documentation-generation phpdoc

我在我的代码文件夹中运行了这个命令。

$ phpdoc -o HTML:frames:earthli -f user.php -t docs

它创建了文件夹docs和用户的html documetation。 现在,如果我想向此软件包添加更多文件,我应该如何添加它。

我试过

$ phpdoc -o HTML:frames:earthli -f gib.php -t docs

但它没有添加它替换,user.php

并且在本文档中我没有获得搜索工具,我可以在phpdoc中获取搜索工具,还是任何其他文档软件可以为我提供搜索

1 个答案:

答案 0 :(得分:2)

使用此命令转换目录,并忽略upload和url目录, -t是目标文件夹 http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html

phpdoc -o HTML:frames:earthli -d ryapi -i uploads/,url/ -t docs

用于搜索我正在使用转换为pdf。