[tools] gopls/doc: use YAML title blocks in .md files

0 views
Skip to first unread message

Alan Donovan (Gerrit)

unread,
Jul 8, 2025, 12:45:00 PMJul 8
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, Robert Findley, golang-co...@googlegroups.com

Alan Donovan submitted the change with unreviewed changes

Unreviewed changes

1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: gopls/doc/design/implementation.md
Insertions: 1, Deletions: 1.

@@ -1,5 +1,5 @@
---
-title: "Gopls: implementation"
+title: "Gopls: Implementation"
---

Last major update: Jan 16 2024
```
```
The name of the file: gopls/doc/index.md
Insertions: 2, Deletions: 2.

@@ -169,8 +169,8 @@
`gopls` currently only supports the `go` command, so if you are using
a different build system, `gopls` will not work well. Bazel is not officially
supported, but may be made to work with an appropriately configured
-`go/packages` driver. See
-[bazelbuild/rules_go#512](https://github.com/bazelbuild/rules_go/issues/512)
+[go/packages driver](https://pkg.go.dev/golang.org/x/tools/go/packages#hdr-The_driver_protocol).
+See [bazelbuild/rules_go#512](https://github.com/bazelbuild/rules_go/issues/512)
for more information.
You can follow [these instructions](https://github.com/bazelbuild/rules_go/wiki/Editor-setup)
to configure your `gopls` to work with Bazel.
```

Change information

Commit message:
gopls/doc: use YAML title blocks in .md files

These are honored both by GFM and x/website (the latter
now being our canonical dialect), and set the <title>
element as well as the h1. The actual headings should
start at h2 (##).

Also, replace @user GFM syntax with explicit links to
https://github.com/user.
Change-Id: I0d65f659a2215ee8aec73352867f64eebf8f4a78
Reviewed-by: Robert Findley <rfin...@google.com>
Files:
  • M gopls/doc/advanced.md
  • M gopls/doc/analyzers.md
  • M gopls/doc/codelenses.md
  • M gopls/doc/command-line.md
  • M gopls/doc/contributing.md
  • M gopls/doc/daemon.md
  • M gopls/doc/design/design.md
  • M gopls/doc/design/implementation.md
  • M gopls/doc/design/integrating.md
  • M gopls/doc/editor/emacs.md
  • M gopls/doc/editor/helix.md
  • M gopls/doc/editor/sublime.md
  • M gopls/doc/editor/vim.md
  • M gopls/doc/features/assembly.md
  • M gopls/doc/features/completion.md
  • M gopls/doc/features/diagnostics.md
  • M gopls/doc/features/index.md
  • M gopls/doc/features/modfiles.md
  • M gopls/doc/features/navigation.md
  • M gopls/doc/features/passive.md
  • M gopls/doc/features/templates.md
  • M gopls/doc/features/transformation.md
  • M gopls/doc/features/web.md
  • M gopls/doc/index.md
  • M gopls/doc/inlayHints.md
  • M gopls/doc/release/v0.16.0.md
  • M gopls/doc/release/v0.17.0.md
  • M gopls/doc/release/v0.18.0.md
  • M gopls/doc/release/v0.19.0.md
  • M gopls/doc/release/v0.20.0.md
  • M gopls/doc/settings.md
  • M gopls/doc/troubleshooting.md
  • M gopls/doc/workspace.md
Change size: L
Delta: 33 files changed, 202 insertions(+), 100 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Robert Findley
  • 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: tools
Gerrit-Branch: master
Gerrit-Change-Id: I0d65f659a2215ee8aec73352867f64eebf8f4a78
Gerrit-Change-Number: 686335
Gerrit-PatchSet: 3
Gerrit-Owner: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Robert Findley <rfin...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages