: This article mainly introduces the configuration items of ApiGen4.0. For more information about PHP tutorials, see. 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) directory generated by the document (required)
-- Access-levels attribute and method access level (default: "public", "protected") (optional) (multiple values can be set)
-- Base-url document root path
-- Config custom apigen. neon configuration file
-- Google-cse-id Custom google search engine id (for search box ).
-- Google-analytics google Statistics Code
-- Debug: enable the Debug mode.
-- Deprecated: generates the discard information for the tag (@ deprecated ).
-- Download add a download link to the ZIP archive file
-- List of file extensions that can be parsed by extensions (default: "php") (multiple values can be set)
-- Exclude matched directories and files will not be parsed (multiple values can be set)
-- Groups menu item Group (default: "auto ")
-- Charset character set of the source file (multiple values can be set)
-- The matched name prefix of main is generated as "main project"
-- Internal includes the tag @ internal
-- Php generates PHP internal class documents
-- Files whose skip-doc-path is matched will appear in the class tree but will not be linked to these documents (multiple values can be set)
-- No-source-code does not highlight tags in the source code
-- Template-theme template name (default: "default ")
-- Template-config template settings
-- Title document title
-- Todo: generate a task document using the tag (@ todo ).
-- Tree generates directory trees for classes, interfaces, features, and exceptions
-- Help (-h) displays help information
-- Quiet (-q) does not output any information
-- Version (-V): displays the program version number.
The above describes the configuration items of ApiGen 4.0, including the relevant content, and hope to be helpful to friends who are interested in the PHP Tutorial.