cmd/golangorg: fix various comments
Change-Id: I95879652f3c8e44210f1e28e7944755fa2bee676
Reviewed-on: https://go-review.googlesource.com/c/website/+/293417
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/cmd/golangorg/README.md b/cmd/golangorg/README.md
index 233e605..d0017fd 100644
--- a/cmd/golangorg/README.md
+++ b/cmd/golangorg/README.md
@@ -13,8 +13,6 @@
* the Google Cloud SDK; see https://cloud.google.com/sdk/
* Redis
* Go sources under $GOROOT
- * Godoc sources inside $GOPATH
- (`go get -d golang.org/x/website/cmd/golangorg`)
Run with the `prod` tag:
diff --git a/cmd/golangorg/codewalk.go b/cmd/golangorg/codewalk.go
index 961b008..0f3c13e 100644
--- a/cmd/golangorg/codewalk.go
+++ b/cmd/golangorg/codewalk.go
@@ -6,12 +6,12 @@
// +build go1.16
// The /doc/codewalk/ tree is synthesized from codewalk descriptions,
-// files named $GOROOT/doc/codewalk/*.xml.
+// files named _content/doc/codewalk/*.xml.
// For an example and a description of the format, see
// http://golang.org/doc/codewalk/codewalk or run godoc -http=:6060
// and see http://localhost:6060/doc/codewalk/codewalk .
// That page is itself a codewalk; the source code for it is
-// $GOROOT/doc/codewalk/codewalk.xml.
+// _content/doc/codewalk/codewalk.xml.
package main
diff --git a/cmd/golangorg/doc.go b/cmd/golangorg/doc.go
index 4c8c2c5..64d8c31 100644
--- a/cmd/golangorg/doc.go
+++ b/cmd/golangorg/doc.go
@@ -35,9 +35,9 @@
-templates=""
directory containing alternate template files; if set,
the directory may provide alternative template files
- for the files in $GOROOT/lib/godoc
+ for the files in _content/
-By default, godoc looks at the packages it finds via $GOROOT and $GOPATH (if set).
+By default, golangorg looks at the packages it finds via $GOROOT (if set).
This behavior can be altered by providing an alternative $GOROOT with the -goroot
flag.