Skip to content

Commit c11f6c4

Browse files
committed
doc: add release notes for godoc and go doc
Updates #30029 Updates #31457 Change-Id: I08414a544615e74afb47f7a10a00f1e22adfd40c Reviewed-on: https://go-review.googlesource.com/c/go/+/182619 Reviewed-by: Katie Hockman <[email protected]>
1 parent 1803ab1 commit c11f6c4

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

doc/go1.13.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,25 @@ <h3 id="gofmt">gofmt</h3>
265265
<code>0o660</code>, <code>1.2e3</code>, and <code>1i</code> after applying <code>gofmt</code>.
266266
</p>
267267

268+
<h3 id="godoc"><code>godoc</code> and <code>go</code> <code>doc</code></h3>
269+
270+
<p><!-- CL 174322 -->
271+
The <code>godoc</code> webserver is no longer included in the main binary distribution.
272+
To run the <code>godoc</code> webserver locally, manually install it first:
273+
<pre>
274+
go get golang.org/x/tools/cmd/godoc
275+
godoc
276+
</pre>
277+
</p>
278+
279+
<p><!-- CL 177797 -->
280+
The
281+
<a href="/cmd/go/#hdr-Show_documentation_for_package_or_symbol"><code>go</code> <code>doc</code></a>
282+
command now always includes the package clause in its output, except for
283+
commands. This replaces the previous behavior where a heuristic was used,
284+
causing the package clause to be omitted under certain conditions.
285+
</p>
286+
268287
<h2 id="runtime">Runtime</h2>
269288

270289
<p><!-- CL 161477 -->
@@ -333,7 +352,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
333352
</p>
334353

335354
<!-- CL 174125: https://golang.org/cl/174125: cmd/dist: add support for openbsd/arm64 -->
336-
<!-- CL 177797: https://golang.org/cl/177797: cmd/doc: always print package clause except for commands -->
337355
<!-- CL 173345: https://golang.org/cl/173345: cmd/go: add -trimpath build flag -->
338356
<!-- CL 173438: https://golang.org/cl/173438: cmd/go: change -tags to a comma-separated list -->
339357
<!-- CL 175983: https://golang.org/cl/175983: cmd/go: set the "generate" build tag in go generate, per design doc -->

0 commit comments

Comments
 (0)