doc: Avoid using symbolic links in paths

Symbolic links can be problematic especially on Windows
This commit is contained in:
Hajime Hoshi 2017-08-18 02:41:00 +09:00
parent 1361383ef4
commit d4f3b683d8

View File

@ -34,7 +34,7 @@ var rootPath = ""
func init() {
_, path, _, _ := runtime.Caller(0)
rootPath = filepath.Join(filepath.Dir(path), "..", "public")
rootPath = filepath.Join(filepath.Dir(path), "..", "..", "docs")
}
func main() {