Use MkdirAll instead of Mkdir in `hugo gen doc`
authorAnthony Fok <foka@debian.org>
Sat, 28 Nov 2015 14:42:40 +0000 (07:42 -0700)
committerAnthony Fok <foka@debian.org>
Sat, 19 Dec 2015 13:08:01 +0000 (06:08 -0700)
commite1af7cb9d06933f593661c498ed2f05a21286e87
tree7d826cb1e76334eaa05f21f51d2fb7b89aa78915
parentde82404d35bc0673ca4fe5c400945b3fc4e9aae2
Use MkdirAll instead of Mkdir in `hugo gen doc`

Also print a feedback if the path does not exist and needs to be created.
commands/gendoc.go