diff options
| author | Hana (Hyang-Ah) Kim <hyangah@gmail.com> | 2023-07-13 13:28:39 -0400 |
|---|---|---|
| committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | 2023-07-13 21:19:33 +0000 |
| commit | a115df313a6405b4d8cec93aec8723a23b7a88b5 (patch) | |
| tree | 84f354ecc63f4129dfd7ba3e3626b0125dd89024 /cmd/pkgsite | |
| parent | 8cc68fd9b58be65b191809d99fd444c44233fffa (diff) | |
| download | go-x-pkgsite-a115df313a6405b4d8cec93aec8723a23b7a88b5.tar.xz | |
README.md: make `pkgsite` more discoverable
And update the installation instruction.
Change-Id: I950f2a990ccddbc775b59b51b2b667ab40977237
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/509416
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Bypass: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'cmd/pkgsite')
| -rw-r--r-- | cmd/pkgsite/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/pkgsite/main.go b/cmd/pkgsite/main.go index 85ce83e5..f56993c0 100644 --- a/cmd/pkgsite/main.go +++ b/cmd/pkgsite/main.go @@ -6,7 +6,7 @@ // It runs as a web server and presents the documentation as a // web page. // -// To install, run `go install ./cmd/pkgsite` from the pkgsite repo root. +// To install, run `go install golang.org/x/pkgsite/cmd/pkgsite@latest`. // // With no arguments, pkgsite will serve docs for main modules relative to the // current directory, i.e. the modules listed by `go list -m`. This is @@ -14,7 +14,7 @@ // directory. However, this may include multiple main modules when using a // go.work file to define a [workspace]. // -// For example, both of the following the following forms could be used to work +// For example, both of the following forms could be used to work // on the module defined in repos/cue/go.mod: // // The single module form: |
