From cc959c5aabfc623a86f8b6e86c37be6afe8fefcf Mon Sep 17 00:00:00 2001 From: Patricio Whittingslow Date: Wed, 25 Feb 2026 12:49:07 -0300 Subject: [PATCH] fix targets list --- tools/tgdoc/server.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/tgdoc/server.go b/tools/tgdoc/server.go index b44d52f57..6a520a732 100644 --- a/tools/tgdoc/server.go +++ b/tools/tgdoc/server.go @@ -186,7 +186,7 @@ func serve(addr string, results []Result) { http.NotFound(w, r) return } - data := pageData{Index: index} + data := pageData{Index: index, Results: results} pageTmpl.Execute(w, data) }) @@ -197,7 +197,7 @@ func serve(addr string, results []Result) { http.NotFound(w, r) return } - data := pageData{Index: index, Selected: entry, SelectedKey: key} + data := pageData{Index: index, Results: results, Selected: entry, SelectedKey: key} pageTmpl.Execute(w, data) }) @@ -218,6 +218,7 @@ func serve(addr string, results []Result) { type pageData struct { Index *IdentIndex + Results []Result Selected *IdentEntry SelectedKey string } @@ -333,7 +334,8 @@ main .subtitle { color: #666; margin-bottom: 1.5em; }

Select an identifier from the sidebar to see its appearances across targets.

Browse by target:

{{end}}