.TH "HUGO\-GEN\-DOC" "1" "Jun 2019" "Hugo 0.54.0" "Hugo Manual" .nh .ad l .SH NAME .PP hugo\-gen\-doc \- Generate Markdown documentation for the Hugo CLI. .SH SYNOPSIS .PP \fBhugo gen doc [flags]\fP .SH DESCRIPTION .PP Generate Markdown documentation for the Hugo CLI. .PP This command is, mostly, used to create up\-to\-date documentation of Hugo's command\-line interface for \[la]http://gohugo.io/\[ra]\&. .PP It creates one Markdown file per command with front matter suitable for rendering in Hugo. .SH OPTIONS .PP \fB\-\-dir\fP="/tmp/hugodoc/" the directory to write the doc. .PP \fB\-h\fP, \fB\-\-help\fP[=false] help for doc .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB\-\-config\fP="" config file (default is path/config.yaml|json|toml) .PP \fB\-\-configDir\fP="config" config dir .PP \fB\-\-debug\fP[=false] debug output .PP \fB\-\-log\fP[=false] enable Logging .PP \fB\-\-logFile\fP="" log File path (if set, logging enabled automatically) .PP \fB\-\-quiet\fP[=false] build in quiet mode .PP \fB\-v\fP, \fB\-\-verbose\fP[=false] verbose output .PP \fB\-\-verboseLog\fP[=false] verbose logging .SH SEE ALSO .PP \fBhugo\-gen(1)\fP