usage:
generate [-s|--source=...] [-d|--destination=...] [--access-levels=...] [--base-url=...] [--config=...] [--google-cse-id=...] [--google-analytics=...] [--debug] [--deprecated] [--download] [--extensions=...] [--exclude=...] [--groups=...] [--charset=...] [--main=...] [--internal] [--php] [--skip-doc-path=...] [--no-source-code] [--template-theme=...] [--template-config=...] [--title=...] [--todo] [--tree]
options:
--source (-s) 源码文件目录(可设置多个值)(必填)
--destination (-d) 文档生成目录(必填)
--access-levels 属性及方法的访问级别(默认:public,protected)(可选)(可设置多个值)
--base-url 文档根路径
--config 自定义apigen.neon配置文件
--google-cse-id custom google search engine id (for search box).
--google-analytics 谷歌统计代码
--debug 开启debug模式
--deprecated 将标签(@deprecated)生成弃用信息
--download 添加一个下载链接到zip归档文件
--extensions 允许解析的文件扩展名列表(默认:php)(可设置多个值)
--exclude 被匹配的目录和文件将不被解析(可设置多个值)
--groups 菜单项分组(默认:auto)
--charset 源文件的字符集(可设置多个值)
--main 被匹配的名称前缀生成为“主要项目”
--internal 包含标签@internal
--php 生成php内部类文档
--skip-doc-path 被匹配的文件将会出现在类树中,但不会链接到这些文档(可设置多个值)
--no-source-code 不高亮源代码中的标签
--template-theme 模板名称(默认:default)
--template-config 模板设置
--title 文档标题
--todo 将标签(@todo)生成任务文档
--tree 生成类、接口、特征和异常的目录树
--help (-h) 显示帮助信息
--quiet (-q) 不输出任何信息
--version (-v) 显示程序版本号
以上就介绍了apigen 4.0配置项,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。