HUGO-GEN(1)
β¨ NAME β¨
hugo-gen β generate documentation and syntax highlighting styles π
(this one's straight out of the Hugo Manual, bestie, so you know it's official)
πΈ SYNOPSIS πΈ
hugo gen [command] [flags]
π DESCRIPTION π
Okay so picture this: you wanna generate documentation for your project, right? You use Hugo's own documentation engine to do it β and it also does syntax highlighting for a whole bunch of programming languages. Iconic behavior, honestly. It's giving "one command, all the docs." π₯
π¦ OPTIONS π¦
-h,--help[=false]β help forgen. Your literal bestie when you forget what's going on (no judgment, it happens π)
π OPTIONS INHERITED FROM PARENT COMMANDS π
These are the ones you get for free from the parent command β the hand-me-downs, but make them couture. π
--clock=""β sets the clock Hugo uses, like--clock 2021-11-06T22:30:00.00+09:00. Time travel, but legal β--config=""β config file (default ishugo.yaml|json|toml)--configDir="config"β config dir. The little folder where your config lives π-d,--destination=""β filesystem path to write files to. Where the output goes to live its best life β¨-e,--environment=""β build environment. Tell it what mood we're in today π--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern. Like a "not you, babe" list for vendor dirs π--logLevel=""β log level (debug|info|warn|error). Pick your drama tier π--noBuildLock[=false]β don't create the.hugo_build.lockfile. Live dangerously, bestie π₯--quiet[=false]β build in quiet mode. Shhh. No yapping. π€«-M,--renderToMemory[=false]β render to memory (mostly useful when running the server). Big brain energy, no disk involved π§-s,--source=""β filesystem path to read files relative from--themesDir=""β filesystem path to themes directory. Go get your aesthetic, queen π
π SEE ALSO π
The whole squad, fr fr β go read the friends too. π«Ά
Lowkey reminder: this ishugo-genspecifically, not the whole ofhugo. Don't come for me if you run the wrong one π
And that's the tea, bestie π β this was Hugo 0.169.0 from Oct 2026, brought to you with love, and you've officially reached the end of the page. Slay. πβ¨π
π¦ where this page comes from
- arch rolling: hugo 0.169.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms