diff --git a/commands/gendocshelper.go b/commands/gendocshelper.go index 6e59d99eb..ca781242e 100644 --- a/commands/gendocshelper.go +++ b/commands/gendocshelper.go @@ -41,9 +41,7 @@ func createGenDocsHelper() *genDocsHelper { return g.generate() } - // 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") + g.cmd.PersistentFlags().StringVarP(&g.target, "dir", "", "docs/data", "data dir") return g }