Skip to content

Commit

Permalink
commands: Adjust docs path
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jun 14, 2017
1 parent 6cee0df commit 729be80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commands/gendocshelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 729be80

Please sign in to comment.