From 6b62570038c498671864fe2ba697ceec645f1292 Mon Sep 17 00:00:00 2001 From: Finn Date: Sun, 7 Feb 2021 13:14:56 -0800 Subject: [PATCH] Suffix internal links with / --- cmd/signaldctl/cmd/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/signaldctl/cmd/doc.go b/cmd/signaldctl/cmd/doc.go index eca3785..bb061b9 100644 --- a/cmd/signaldctl/cmd/doc.go +++ b/cmd/signaldctl/cmd/doc.go @@ -72,5 +72,5 @@ func filePrepender(filename string) string { func linkHandler(name string) string { base := strings.TrimSuffix(name, path.Ext(name)) - return "/" + strings.ToLower(base) + return "/" + strings.ToLower(base) + "/" }