Revert "commands: Adjust docs path"
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 6 Jul 2017 08:34:04 +0000 (10:34 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 6 Jul 2017 08:34:04 +0000 (10:34 +0200)
This reverts commit 729be8074bddb58c9111f32c55cc769e49cd0d5a.

commands/gendocshelper.go

index 6e59d99eb17ffca82557476f6db05fb7d8608741..ca781242ee7bec1d6a0e73765ef74869c674b7a3 100644 (file)
@@ -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
 }