]> Cypherpunks repositories - gostls13.git/commitdiff
doc: rename HTML element IDs to avoid duplicates
authorDmitri Shuralyov <dmitshur@golang.org>
Wed, 5 Feb 2020 10:23:42 +0000 (05:23 -0500)
committerDmitri Shuralyov <dmitshur@golang.org>
Wed, 5 Feb 2020 14:32:50 +0000 (14:32 +0000)
These 3 release notes have had an element ID collision because both
the runtime changes and changes to the package "runtime" used the
same ID. Fix it by using a "pkg-" prefix for the runtime package.

Move the "runtime-again" ID from CL 129635 to a nearby <dt> element
so that existing links to https://golang.org/doc/go1.11#runtime-again
don't break.

Fixes #37036
Updates #36878

Change-Id: Ib68d93acfac802fd84c0a57485937e45dea2064a
Reviewed-on: https://go-review.googlesource.com/c/go/+/217797
Reviewed-by: Toshihiro Shiino <shiino.toshihiro@gmail.com>
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.11.html
doc/go1.13.html
doc/go1.14.html
doc/go1.9.html

index 841ead225f8f10436a8cc457809d0bcc0ba110c6..483ecd872f354825c454600be7c7805b887f1f40 100644 (file)
@@ -826,7 +826,7 @@ for k := range m {
 
 <!-- CL 101715 was reverted -->
 
-<dl id="runtime-again"><dt><a href="/pkg/runtime/">runtime</a></dt>
+<dl id="pkg-runtime"><dt id="runtime-again"><a href="/pkg/runtime/">runtime</a></dt>
   <dd>
 
     <p><!-- CL 70993 -->
index a17337f6662c25ae3f51b0bb61da573641b63030..8f4035d87f8460c62f91bd347c4d544fbaf42f3b 100644 (file)
@@ -904,7 +904,7 @@ godoc
 
 </dl><!-- reflect -->
 
-<dl id="runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
+<dl id="pkg-runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
   <dd>
     <p> <!-- CL 167780 -->
       Tracebacks, <a href="/pkg/runtime/#Caller"><code>runtime.Caller</code></a>,
index 186899e680e0836cac71a307a775503e8ca1473d..7cf73bc5010dfb61004a475f05f92fc08a5e1325 100644 (file)
@@ -736,7 +736,7 @@ appropriately.)
 
 </dl><!-- reflect -->
 
-<dl id="runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
+<dl id="pkg-runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
   <dd>
     <p><!-- CL 200081 -->
       <code>runtime.Goexit</code> can no longer be aborted by a
index 3dfdf53a8113a6830505ae664c303e579ba597ce..86ee257d03b37af852e90bce26ffa175a7a53ae3 100644 (file)
@@ -862,7 +862,7 @@ version of gccgo.
 
 </dl><!-- reflect -->
 
-<dl id="runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
+<dl id="pkg-runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
   <dd>
     <p><!-- CL 37233, CL 37726 -->
       Tracebacks generated by the runtime and recorded in profiles are