github.com/rabbouni145/gg@v0.47.1/docs/content/en/commands/hugo_gen_doc.md (about) 1 --- 2 date: 2018-08-17 3 title: "hugo gen doc" 4 slug: hugo_gen_doc 5 url: /commands/hugo_gen_doc/ 6 --- 7 ## hugo gen doc 8 9 Generate Markdown documentation for the Hugo CLI. 10 11 ### Synopsis 12 13 Generate Markdown documentation for the Hugo CLI. 14 15 This command is, mostly, used to create up-to-date documentation 16 of Hugo's command-line interface for http://gohugo.io/. 17 18 It creates one Markdown file per command with front matter suitable 19 for rendering in Hugo. 20 21 ``` 22 hugo gen doc [flags] 23 ``` 24 25 ### Options 26 27 ``` 28 --dir string the directory to write the doc. (default "/tmp/hugodoc/") 29 -h, --help help for doc 30 ``` 31 32 ### Options inherited from parent commands 33 34 ``` 35 --config string config file (default is path/config.yaml|json|toml) 36 --debug debug output 37 --log enable Logging 38 --logFile string log File path (if set, logging enabled automatically) 39 --quiet build in quiet mode 40 -v, --verbose verbose output 41 --verboseLog verbose logging 42 ``` 43 44 ### SEE ALSO 45 46 * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. 47 48 ###### Auto generated by spf13/cobra on 17-Aug-2018