@@ -19,27 +19,40 @@ Commands:
19
19
readme inject documentation into your README.md
20
20
21
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
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
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
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
40
[choices: " public" , " private" , " protected" , " undefined" ]
41
- --github, -g infer links to github in documentation [boolean]
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 [string]
44
+ --theme, -t specify a theme: this must be a valid theme module
45
+ --name project name. by default, inferred from package.json
46
+ --watch, -w watch input files and rebuild documentation when they
47
+ change [boolean]
48
+ --project-version project version. by default, inferred from package.json
49
+ --output, -o output location. omit for stdout, otherwise is a filename
50
+ for single-file outputs and a directory name for multi-file
51
+ outputs like html [default: " stdout" ]
52
+ --format, -f [choices: " json" , " md" , " html" ] [default: " json" ]
42
53
43
54
Examples:
44
- documentation build foo.js parse documentation in a given file
55
+ documentation build foo.js -f md > parse documentation in a file and
56
+ API.md generate API documentation as
57
+ Markdown
45
58
```
0 commit comments