Debian Codegraph @

docs/content/en/commands/hugo_gen.md

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