shithub: hugo

Download patch

ref: 75f782f0359548ff33c88ebe342e10ee25b399ea
parent: e00f5c9c0724001c6a550029587683aa30e8d626
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Jul 6 06:34:04 EDT 2017

Revert "commands: Adjust docs path"

This reverts commit 729be8074bddb58c9111f32c55cc769e49cd0d5a.

--- a/commands/gendocshelper.go
+++ b/commands/gendocshelper.go
@@ -41,9 +41,7 @@
 		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
 }