Heim  >  Artikel  >  Backend-Entwicklung  >  ApiGen 4.0配置项,apigen4.0配置_PHP教程

ApiGen 4.0配置项,apigen4.0配置_PHP教程

WBOY
WBOYOriginal
2016-07-13 10:08:22742Durchsuche

ApiGen 4.0配置项,apigen4.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) 显示程序版本号

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/952018.htmlTechArticleApiGen 4.0配置项,apigen4.0配置 Usage: generate [-s|--source="..."] [-d|--destination="..."] [--access-levels="..."] [--base-url="..."] [--config="..."] [--google-cse-id="......
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn