IDE Netbeans中使用ApiGen自动生成api文档

1. 要配置ApiGen,必须先安装好。
 
2. 选择:工具->选项
 
3. 选择:PHP->ApiGen
 
4. 将其中的ApiGen脚本配置为对应的ApiGen安装位置。完成之后,即可通过项目右击菜单中的“生成文档”来生成API文档。
 
5. 在执行时报错:
   Used 98% of the current memory limit, please increase the limit to generate the whole documentation.
   修复方法:修改你系统中所安装PHP的配置文件(php.ini),将其中的 memory_limit  值设置到一个合适的值。

 

posted @ 2017-07-15 14:46  luckc#  阅读(467)  评论(0)    收藏  举报