]> Cypherpunks repositories - gostls13.git/commit
cmd/doc: add support for starting pkgsite instance for docs
authorMichael Matloob <matloob@golang.org>
Tue, 3 Sep 2024 15:19:39 +0000 (11:19 -0400)
committerMichael Matloob <matloob@golang.org>
Mon, 3 Feb 2025 17:26:03 +0000 (09:26 -0800)
commit66e6f5c9202ae98c3e1d3830972cd13559fb28f2
treec0d0d01cada6cb5944d2b57f22db070446f754ea
parent39ceaf79614ac7a8874c086ec3c012464f710aca
cmd/doc: add support for starting pkgsite instance for docs

This change adds a new flag "-http" to cmd/doc which enables starting
a pkgsite instance. -http will start a pkgsite instance and navigate to
the page for the requested package, at the anchor for the item
requested.

For #68106

Change-Id: Ic1c113795cb2e1035e99c89c8e972c799342385b
Reviewed-on: https://go-review.googlesource.com/c/go/+/628175
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/cmd/doc/main.go
src/cmd/doc/signal_notunix.go [new file with mode: 0644]
src/cmd/doc/signal_unix.go [new file with mode: 0644]