mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-20 23:11:43 +00:00
commands: Adjust docs path
This commit is contained in:
parent
6cee0dfe53
commit
729be8074b
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@ func createGenDocsHelper() *genDocsHelper {
|
||||||
return g.generate()
|
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
|
return g
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue