·您现在的位置: 云翼网络 >> 文章中心 >> 网站建设 >> 网站建设开发 >> php网站开发 >> ApiGen 4.0配置项

ApiGen 4.0配置项

作者:佚名      php网站开发编辑:admin      更新时间:2022-07-23
ApiGen 4.0配置项

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) 显示程序版本号