mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 16:10:54 +00:00
parent
e00f5c9c07
commit
75f782f035
1 changed files with 1 additions and 3 deletions
|
@ -41,9 +41,7 @@ func createGenDocsHelper() *genDocsHelper {
|
||||||
return g.generate()
|
return g.generate()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note that ./docs is a submodule, and writing to that would be suboptimal.
|
g.cmd.PersistentFlags().StringVarP(&g.target, "dir", "", "docs/data", "data dir")
|
||||||
// Let us assume that the default is a sibling project.
|
|
||||||
g.cmd.PersistentFlags().StringVarP(&g.target, "dir", "", "../hugoDocs/data", "data dir")
|
|
||||||
|
|
||||||
return g
|
return g
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue