Skip to content

Commit 729be80

Browse files
committed
commands: Adjust docs path
1 parent 6cee0df commit 729be80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎commands/gendocshelper.go‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ func createGenDocsHelper() *genDocsHelper {
4141
return g.generate()
4242
}
4343

44-
g.cmd.PersistentFlags().StringVarP(&g.target, "dir", "", "docs/data", "data dir")
44+
// Note that ./docs is a submodule, and writing to that would be suboptimal.
45+
// Let us assume that the default is a sibling project.
46+
g.cmd.PersistentFlags().StringVarP(&g.target, "dir", "", "../hugoDocs/data", "data dir")
4547

4648
return g
4749
}

0 commit comments

Comments
 (0)