[website] cmd/golangorg: serve gopls docs at go.dev/gopls

1 view
Skip to first unread message

Alan Donovan (Gerrit)

unread,
Jul 8, 2025, 6:46:06 PMJul 8
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, Dmitri Shuralyov, Dmitri Shuralyov, Robert Findley, golang-co...@googlegroups.com

Alan Donovan submitted the change

Unreviewed changes

11 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
cmd/golangorg: serve gopls docs at go.dev/gopls

The go.dev/gopls endpoint serves the gopls/doc
directory at the latest release of gopls;
the tip.golang.dev/gopls endpoint serves the latest
x/tools commit.

The GOLANGORG_LOCAL_X_TOOLS environment variable specifies
a local directory, overriding the use of git,
for previewing local doc changes.

Also, a command to recursively check links within the
go.dev/gopls subtree.

Fixes golang/go#68977
Change-Id: I5d92e6f0e5fdbed721a57f0a1ace2ac98e562fc8
Reviewed-by: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Files:
  • A _content/gopls/doc/dummy.md
  • A _content/gopls/doc/index.md
  • M _content/site.tmpl
  • A cmd/checklinks/checklinks.go
  • M cmd/golangorg/server.go
  • M cmd/golangorg/server_test.go
  • M cmd/golangorg/testdata/godev.txt
  • M internal/gitfs/git.go
  • M internal/web/render.go
Change size: L
Delta: 9 files changed, 307 insertions(+), 28 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Dmitri Shuralyov, +1 by Dmitri Shuralyov
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: website
Gerrit-Branch: master
Gerrit-Change-Id: I5d92e6f0e5fdbed721a57f0a1ace2ac98e562fc8
Gerrit-Change-Number: 685635
Gerrit-PatchSet: 13
Gerrit-Owner: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Robert Findley <rfin...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages