Skip to content

Commit

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

0 comments on commit 75f782f

Please sign in to comment.