Debian Codegraph @

docs/content/en/commands/hugo_gen_man.md

raw
1 ---
2 title: "hugo gen man"
3 slug: hugo_gen_man
4 url: /commands/hugo_gen_man/
5 ---
6 ## hugo gen man
7
8 Generate man pages for the Hugo CLI
9
10 ### Synopsis
11
12 This command automatically generates up-to-date man pages of Hugo's
13 command-line interface. By default, it creates the man page files
14 in the "man" directory under the current directory.
15
16 ```
17 hugo gen man [flags] [args]
18 ```
19
20 ### Options
21
22 ```
23 --dir string the directory to write the man pages. (default "man/")
24 -h, --help help for man
25 ```
26
27 ### Options inherited from parent commands
28
29 ```
30 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
31 --config string config file (default is hugo.yaml|json|toml)
32 --configDir string config dir (default "config")
33 -d, --destination string filesystem path to write files to
34 -e, --environment string build environment
35 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
36 --logLevel string log level (debug|info|warn|error)
37 --noBuildLock don't create .hugo_build.lock file
38 --quiet build in quiet mode
39 -M, --renderToMemory render to memory (mostly useful when running the server)
40 -s, --source string filesystem path to read files relative from
41 --themesDir string filesystem path to themes directory
42 ```
43
44 ### SEE ALSO
45
46 * [hugo gen](/commands/hugo_gen/) - Generate documentation and syntax highlighting styles