From: Bjørn Erik Pedersen Date: Wed, 14 Jun 2017 08:37:58 +0000 (+0200) Subject: commands: Adjust docs path X-Git-Tag: v0.23~8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=729be8074bddb58c9111f32c55cc769e49cd0d5a;p=brevno-suite%2Fhugo commands: Adjust docs path --- diff --git a/commands/gendocshelper.go b/commands/gendocshelper.go index ca781242..6e59d99e 100644 --- a/commands/gendocshelper.go +++ b/commands/gendocshelper.go @@ -41,7 +41,9 @@ func createGenDocsHelper() *genDocsHelper { return g.generate() } - g.cmd.PersistentFlags().StringVarP(&g.target, "dir", "", "docs/data", "data dir") + // Note that ./docs is a submodule, and writing to that would be suboptimal. + // Let us assume that the default is a sibling project. + g.cmd.PersistentFlags().StringVarP(&g.target, "dir", "", "../hugoDocs/data", "data dir") return g }