问个很菜的问题,我下了最新的phpdocumentor,运行了一下,报如下错误:Parsing Files ...Warning: Use of undefined constant T_ML_COMMENT - assumed 'T_ML_COMMENT' in d:\phproot\phpdoc\phpDocumentor\Parser.inc on line 301 PHP Version 4.1.1 phpDocumentor version 1.3.0RC3Parsing configuration file phpDocumentor.ini... done using default (slower) Parser - get PHP 4.3.0+ and load the tokenizer extension for faster parsing (your version is 4.1.1 a target directory must be specified try phpdoc -h感觉刚接触这个东东,很多地方不明白哦,往大侠点解。
不过对中文支持的不好,需要手动改写生成的html中的一些内容
修改后,就很好了
PhpDocumentor生成文档的功能还是很丰富的
PHP Version 4.1.1
phpDocumentor version 1.3.0RC3Parsing configuration file phpDocumentor.ini...
done
using default (slower) Parser - get PHP 4.3.0+
and load the tokenizer extension for faster parsing (your version is 4.1.1
a target directory must be specified
try phpdoc -h感觉刚接触这个东东,很多地方不明白哦,往大侠点解。
没有错误啊,运行很正常啊到于使用方法也是很简单的,你按它的说明就可以了,虽然是E文不过很好看懂的要有些耐心,我现在不能给你写一个完整的说明,因为我现在不怎么用PHP了,我现在在学
struts
给你举一个例子吧1 设置Working Directory ,也就是你的源文件的目录
2 "Config"选项 不用设置什么
3 "Files" 选项 主要设置有关要parse的源的信息,点击"Directory to parse "下的小图片,在右边自己显示要paser的文件目录,其它的保持空就可
4 "Output"选项 主要设置输出目录的信息,在"Target"内添写要指定输出的目录,其它空就可以上只是最简单的操作步骤,仅供参考!