hugo gen
hugo gen
生成文档和语法高亮样式
概要
使用 Hugo 的文档引擎为您的项目生成文档,包括各种编程语言的语法高亮显示。
选项
-h, --help help for gen
从父命令继承的选项
--clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
--config string config file (default is hugo.yaml|json|toml)
--configDir string config dir (default "config")
-d, --destination string filesystem path to write files to
-e, --environment string build environment
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
--logLevel string log level (debug|info|warn|error)
--noBuildLock don't create .hugo_build.lock file
--quiet build in quiet mode
-M, --renderToMemory render to memory (mostly useful when running the server)
-s, --source string filesystem path to read files relative from
--themesDir string filesystem path to themes directory
另请参阅
- hugo - 构建你的网站
- hugo gen chromastyles - 为 Chroma 代码高亮器生成 CSS 样式表
- hugo gen doc - 为 Hugo CLI 生成 Markdown 文档。
- hugo gen man - 为 Hugo CLI 生成 man 手册页