命令“phpdoc”整个目录?
为整个项目生成 phpdoc 的命令行是什么?
目录结构
/Users/macuser/Sites/my-project/
index.php
config.php
includes/
class/
test.class.php
include-a.php
docs-go-in-here/
我已经安装了 PEAR phpdoc 并且能够为单个 php 文件创建文档,但我不知道如何创建整个目录。
What would the command line be to generate phpdoc for an entire project?
Directory Structure
/Users/macuser/Sites/my-project/
index.php
config.php
includes/
class/
test.class.php
include-a.php
docs-go-in-here/
I have installed PEAR phpdoc and am able to create documentation for a single php file, I cannot find out how to do an entire directory.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
phpdoc -h 是你的朋友:
phpdoc -h is your friend:
我建议考虑使用 doxygen 而不是 phpdoc,这是一个死项目。看看这个 - http://www.doxygen.nl/
I'd suggest considering using doxygen instead of phpdoc, which is a dead project. Check this out - http://www.doxygen.nl/