Home  >  Article  >  Backend Development  >  ApiGen 4.0 configuration items, apigen4.0 configuration_PHP tutorial

ApiGen 4.0 configuration items, apigen4.0 configuration_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:08:22739browse

ApiGen 4.0 configuration items, apigen4.0 configuration

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) source code file directory (multiple values ​​can be set) (required)
--destination (-d) document generation directory (required)
- -access-levels Access levels of properties and methods (default: "public", "protected") (optional) (multiple values ​​can be set)
--base-url document root path
--config self Define apigen.neon configuration file
--google-cse-id Custom google search engine id (for search box).
--google-analytics Google statistics code
--debug Turn on Debug mode
--deprecated Generate deprecation information from the tag (@deprecated)
--download Add a download link to the ZIP archive
--extensions List of file extensions allowed to be parsed (default: "php") (configurable Multiple values)
--exclude matched directories and files will not be parsed (multiple values ​​can be set)
--groups menu item grouping (default: "auto")
--charset source The character set of the file (multiple values ​​can be set)
--main The matched name prefix is ​​generated as the "main project"
--internal contains the tag @internal
--php generates PHP internal class documentation
--skip-doc-path Matched files will appear in the class tree, but will not be linked to these documents (multiple values ​​can be set)
--no-source-code Do not highlight source code Tag
--template-theme template name (default: "default")
--template-config template settings
--title document title
--todo Generate tasks from tags (@todo) Documentation
--tree generates a directory tree of classes, interfaces, features and exceptions
--help (-h) displays help information
--quiet (-q) does not output any information
-- version (-V) displays the program version number

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/952018.htmlTechArticleApiGen 4.0 configuration item, apigen4.0 configuration Usage: generate [-s|--source="... "] [-d|--destination="..."] [--access-levels="..."] [--base-url="..."] [--config=".. ."] [--google-cse-id="......
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn