1HUGO-GEN-DOC(1) Hugo Manual HUGO-GEN-DOC(1)
2
3
4
6 hugo-gen-doc - Generate Markdown documentation for the Hugo CLI.
7
8
9
11 hugo gen doc [flags]
12
13
14
16 Generate Markdown documentation for the Hugo CLI.
17
18
19 This command is, mostly, used to create up-to-date documentation of
20 Hugo's command-line interface for http://gohugo.io/.
21
22
23 It creates one Markdown file per command with front matter suitable for
24 rendering in Hugo.
25
26
27
29 --dir="/tmp/hugodoc/" the directory to write the doc.
30
31
32 -h, --help[=false] help for doc
33
34
35
37 --config="" config file (default is path/config.yaml|json|toml)
38
39
40 --configDir="config" config dir
41
42
43 --debug[=false] debug output
44
45
46 -e, --environment="" build environment
47
48
49 --ignoreVendor[=false] ignores any _vendor directory
50
51
52 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
53 ing the given Glob pattern
54
55
56 --log[=false] enable Logging
57
58
59 --logFile="" log File path (if set, logging enabled automatically)
60
61
62 --quiet[=false] build in quiet mode
63
64
65 -s, --source="" filesystem path to read files relative from
66
67
68 --themesDir="" filesystem path to themes directory
69
70
71 -v, --verbose[=false] verbose output
72
73
74 --verboseLog[=false] verbose logging
75
76
77
79 hugo-gen(1)
80
81
82
83Hugo 0.80.0 Jan 2021 HUGO-GEN-DOC(1)