phpDoc
来源:互联网 发布:国网内网网络大学地址 编辑:程序博客网 时间:2024/06/11 13:27
phpdoc 安装和使用
2014-12-29 305 懒人程序
phpdoc 安装
pear channel-discover pear.phpdoc.org
pear install phpdoc/phpDocumentor
安装完成后进入
/usr/share/php/phpDocumentor/
具体位置还需要根据系统来定
修改1
/usr/share/php/phpDocumentor/data/templates/clean/css/template.css 删除第一行,是外部加载有点慢,要是无所谓的话也没时
修改2(不修改这里 如果生成文件有子目录,就不能查看文件内容)
/usr/share/php/phpDocumentor/src/phpDocumentor/Plugin/Twig/Writer/Twig.php
306行
$destination = str_replace(array('/','\\'),DIRECTORY_SEPARATOR, $destination);
改
$destination = str_replace(array('/','\\'), DIRECTORY_SEPARATOR, urldecode($destination));
完成后直接到要生成文档的php目录
phpdoc run -d ./ -t /data/web/php/test/docs --title "说明文档"
这样就生成了 -d 是要生成的文件目录
-t 生成的文件存放路径
--title 是生成的文件title
0 0
- phpdoc
- phpdoc
- phpDoc
- phpdoc
- phpdoc @注释内容
- phpdoc @注释内容
- phpDoc使用入门
- phpdoc 注释写法
- netbeans生成phpdoc
- linux安装phpunit&phpdoc
- PHPdoc 注释的关键词
- linux下安装phpdoc
- phpdoc生成文件
- phpdoc/phpdocumentor注释规范
- phpdoc 使用(一)
- phpDoc(PHP Documentor) 标签使用指南
- shell脚本定期生成phpdoc
- PHPDoc/PHPDocumentor生成API文档
- python中filter函数的使用问题
- 简单使用Struts2 实现上传下载功能
- canvas写的立方体动画
- unset 销毁变量时释放内存吗
- 手机测试之"小区广播"
- phpDoc
- android 设置细文字体。
- JVM(3)--垃圾收集
- JAVA8新特性
- ContentProvider使用详解
- Vmware变慢的解决方案
- 取本周累计
- 92 Examine the output of the query that you executed to list the objects in the recycle bin: SQL> SE
- 让并发和容错更容易:Akka示例教程