mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 03:50:56 -04:00
Revert "commands: Adjust docs path"
This reverts commit 729be8074bddb58c9111f32c55cc769e49cd0d5a.
This commit is contained in:
parent
e00f5c9c07
commit
75f782f035
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user