Permalink
Browse files

commands: Adjust docs path

  • Loading branch information...
bep committed Jun 14, 2017
1 parent 6cee0df commit 729be8074bddb58c9111f32c55cc769e49cd0d5a
Showing with 3 additions and 1 deletion.
  1. +3 −1 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
}

0 comments on commit 729be80

Please sign in to comment.