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>
This commit is contained in:
Russ Cox 2021-02-16 22:55:10 -05:00
Родитель 44a429fa8f
Коммит d86265880f
3 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -13,8 +13,6 @@ To run in production mode locally, you need:
* 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:

Просмотреть файл

@ -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

Просмотреть файл

@ -35,9 +35,9 @@ The flags are:
-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.