зеркало из https://github.com/golang/pkgsite.git
static/doc: less repetative deprecation UI
Fixes golang/go#48678 Change-Id: I9864e1a7bfdb71999480774d68c926a1b559e451 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/355189 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
This commit is contained in:
Родитель
cca7af03b6
Коммит
87f5a1befe
|
@ -82,10 +82,6 @@ func <a class="Documentation-source" href="src">BadF</a>
|
|||
</h4>
|
||||
</summary>
|
||||
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
|
||||
<div class="Documentation-deprecatedMessage">
|
||||
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
|
||||
This function has been deprecated.
|
||||
</div>
|
||||
<div class="Documentation-declaration">
|
||||
<pre>func BadF()</pre>
|
||||
</div>
|
||||
|
@ -119,10 +115,6 @@ type <a class="Documentation-source" href="src">BadT</a>
|
|||
</h4>
|
||||
</summary>
|
||||
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
|
||||
<div class="Documentation-deprecatedMessage">
|
||||
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
|
||||
This type has been deprecated.
|
||||
</div>
|
||||
<div class="Documentation-declaration">
|
||||
<pre>type BadT <a href="/builtin#int">int</a></pre>
|
||||
</div>
|
||||
|
@ -144,10 +136,6 @@ func <a class="Documentation-source" href="src">NewBadTBad</a>
|
|||
</h4>
|
||||
</summary>
|
||||
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
|
||||
<div class="Documentation-deprecatedMessage">
|
||||
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
|
||||
This function has been deprecated.
|
||||
</div>
|
||||
<div class="Documentation-declaration">
|
||||
<pre>func NewBadTBad() <a href="#BadT">BadT</a></pre>
|
||||
</div>
|
||||
|
@ -178,10 +166,6 @@ func (BadT) <a class="Documentation-source" href="src">BadM</a>
|
|||
</h4>
|
||||
</summary>
|
||||
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
|
||||
<div class="Documentation-deprecatedMessage">
|
||||
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
|
||||
This method has been deprecated.
|
||||
</div>
|
||||
<div class="Documentation-declaration">
|
||||
<pre>func (<a href="#BadT">BadT</a>) BadM()</pre>
|
||||
</div>
|
||||
|
@ -224,10 +208,6 @@ func <a class="Documentation-source" href="src">NewGoodTBad</a>
|
|||
</h4>
|
||||
</summary>
|
||||
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
|
||||
<div class="Documentation-deprecatedMessage">
|
||||
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
|
||||
This function has been deprecated.
|
||||
</div>
|
||||
<div class="Documentation-declaration">
|
||||
<pre>func NewGoodTBad() <a href="#GoodT">GoodT</a></pre>
|
||||
</div>
|
||||
|
@ -259,10 +239,6 @@ func (GoodT) <a class="Documentation-source" href="src">BadM</a>
|
|||
</h4>
|
||||
</summary>
|
||||
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
|
||||
<div class="Documentation-deprecatedMessage">
|
||||
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
|
||||
This method has been deprecated.
|
||||
</div>
|
||||
<div class="Documentation-declaration">
|
||||
<pre>func (<a href="#GoodT">GoodT</a>) BadM()</pre>
|
||||
</div>
|
||||
|
|
|
@ -152,10 +152,6 @@
|
|||
</h4>{{"\n"}}
|
||||
</summary>
|
||||
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
|
||||
<div class="Documentation-deprecatedMessage">
|
||||
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
|
||||
This {{.Kind}} has been deprecated.
|
||||
</div>
|
||||
{{template "item_body" .}}
|
||||
</div>
|
||||
</details>
|
||||
|
|
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 170 KiB После Ширина: | Высота: | Размер: 171 KiB |
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 121 KiB После Ширина: | Высота: | Размер: 122 KiB |
Загрузка…
Ссылка в новой задаче