diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-14 10:37:58 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-14 10:37:58 +0200 |
commit | 729be8074bddb58c9111f32c55cc769e49cd0d5a (patch) | |
tree | 1e71d54c4accf5b50af25e864fabe8dfbf1086bc | |
parent | 6cee0dfe53899d433afc3c173a87d56265904cb0 (diff) |
commands: Adjust docs path
-rw-r--r-- | commands/gendocshelper.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/gendocshelper.go b/commands/gendocshelper.go index ca781242e..6e59d99eb 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 } |