@@ -18,28 +18,42 @@ Commands:
18
18
lint check for common style and uniformity mistakes
19
19
readme inject documentation into your README.md
20
20
21
- Options:
22
- --help Show help [boolean]
23
- --version Show version number [boolean]
24
- --shallow shallow mode turns off dependency resolution, only processing
25
- the specified files (or the main script specified in
26
- package.json) [boolean] [default: false]
27
- --config, -c configuration file. an array defining explicit sort order
28
- --external a string / glob match pattern that defines which external
29
- modules will be whitelisted and included in the generated
30
- documentation. [default: null]
31
- --extension, -e only input source files matching this extension will be
32
- parsed, this option can be used multiple times.
33
- --polyglot polyglot mode turns off dependency resolution and enables
34
- multi-language support. use this to document c++ [boolean]
35
- --private, -p generate documentation tagged as private
36
- [boolean] [default: false]
37
- --access, -a Include only comments with a given access level, out of
38
- private, protected, public, undefined. By default, public,
39
- protected, and undefined access levels are included
40
- [choices: " public" , " private" , " protected" , " undefined" ]
41
- --github, -g infer links to github in documentation [boolean]
21
+ Options:
22
+ --help Show help [boolean]
23
+ --version Show version number [boolean]
24
+ --shallow shallow mode turns off dependency resolution, only
25
+ processing the specified files (or the main script
26
+ specified in package.json) [boolean] [default: false]
27
+ --config, -c configuration file. an array defining explicit sort order
28
+ --external a string / glob match pattern that defines which external
29
+ modules will be whitelisted and included in the generated
30
+ documentation. [default: null]
31
+ --extension, -e only input source files matching this extension will be
32
+ parsed, this option can be used multiple times.
33
+ --polyglot polyglot mode turns off dependency resolution and enables
34
+ multi-language support. use this to document c++ [boolean]
35
+ --private, -p generate documentation tagged as private
36
+ [boolean] [default: false]
37
+ --access, -a Include only comments with a given access level, out of
38
+ private, protected, public, undefined. By default, public,
39
+ protected, and undefined access levels are included
40
+ [choices: " public" , " private" , " protected" , " undefined" ]
41
+ --github, -g infer links to github in documentation [boolean]
42
+ --infer-private Infer private access based on the name. This is a regular
43
+ expression that is used to match the name
44
+ [string] [default: " ^_" ]
45
+ --theme, -t specify a theme: this must be a valid theme module
46
+ --name project name. by default, inferred from package.json
47
+ --watch, -w watch input files and rebuild documentation when they
48
+ change [boolean]
49
+ --project-version project version. by default, inferred from package.json
50
+ --output, -o output location. omit for stdout, otherwise is a filename
51
+ for single-file outputs and a directory name for multi-file
52
+ outputs like html [default: " stdout" ]
53
+ --format, -f [choices: " json" , " md" , " html" ] [default: " json" ]
42
54
43
- Examples:
44
- documentation build foo.js parse documentation in a given file
55
+ Examples:
56
+ documentation build foo.js -f md > parse documentation in a file and
57
+ API.md generate API documentation as
58
+ Markdown
45
59
```
0 commit comments