HUGO-MOD-GRAPH(1)
π NAME π
hugo-mod-graph β print a module dependency graph. This one is from the Hugo Manual, bestie, and it's here to spill the tea on your module deps. π
β¨ SYNOPSIS β¨
hugo mod graph [flags] [args]
π¦ DESCRIPTION π¦
Okay so this command prints a module dependency graph, and it also gives you the status deets for each module β like whether it's disabled or vendored. β¨
Heads up, bestie: for vendored modules, the version shown is the version that's listed, not the one from go.mod. No cap. π
π OPTIONS π
-b,--baseURL=""β hostname (and path) to the root, likehttps://spf13.com/π--cacheDir=""β filesystem path to the cache directory--clean[=false]β delete the module cache for dependencies that fail verification-c,--contentDir=""β filesystem path to the content directory-h,--help[=false]β help forgraph--renderSegments=[]β named segments to render (set up in the segments config)-t,--theme=[]β themes to use (located in/themes/THEMENAME/)
πΈ OPTIONS INHERITED FROM PARENT COMMANDS πΈ
--clock=""β set the clock used by Hugo, e.g.--clock 2021-11-06T22:30:00.00+09:00--config=""β config file (default ishugo.yaml|json|toml)--configDir="config"β config dir-d,--destination=""β filesystem path to write files to-e,--environment=""β build environment--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern--logLevel=""β log level (debug|info|warn|error)--noBuildLock[=false]β don't create.hugo_build.lockfile--quiet[=false]β build in quiet mode-M,--renderToMemory[=false]β render to memory (mostly useful when running the server)-s,--source=""β filesystem path to read files relative from--themesDir=""β filesystem path to the themes directory
π SEE ALSO π
hugo-mod(1)β the sibling page, go peek π«Ά
π That's the whole page, bestie. This iconic little manual moment is from Hugo 0.169.0, dated Oct 2026. 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