From ef77ed3103b386720d7ac4f21a7f430ace62c023 Mon Sep 17 00:00:00 2001 From: Patricio Whittingslow Date: Wed, 25 Feb 2026 12:29:37 -0300 Subject: [PATCH] show number of different APIs in red --- tools/tgdoc/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/tgdoc/server.go b/tools/tgdoc/server.go index c22894425..b44d52f57 100644 --- a/tools/tgdoc/server.go +++ b/tools/tgdoc/server.go @@ -266,6 +266,7 @@ body { font-family: system-ui, -apple-system, sans-serif; } .ident-list a.active { background: #e8e8f4; border-left-color: #4444cc; } .ident-list .badge { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 3px; font-size: 0.65em; font-weight: bold; margin-right: 6px; color: white; flex-shrink: 0; } .ident-list .count { margin-left: auto; color: #999; font-size: 0.8em; padding-left: 8px; flex-shrink: 0; } +.ident-list .ngroups { color: salmon; font-size: 0.8em; padding-left: 2px; flex-shrink: 0; } .ident-list .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .kind-type .badge { background: #2196F3; } .kind-func .badge { background: #4CAF50; } @@ -306,7 +307,7 @@ main .subtitle { color: #666; margin-bottom: 1.5em; } {{kindBadge .Kind}} {{.Name}} -{{.Count}} +{{.Count}}{{if gt (len .Groups) 1}}/{{len .Groups}}{{end}} {{end}}