From e804e7f7ab11e6d6c7ca49f0a6a480a0fd277587 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 24 Jun 2024 18:35:56 +0200 Subject: [PATCH] docs: add title when no configuration --- scripts/website/expand_templates/linters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/website/expand_templates/linters.go b/scripts/website/expand_templates/linters.go index 443c4b7b9e04..500ad91386d3 100644 --- a/scripts/website/expand_templates/linters.go +++ b/scripts/website/expand_templates/linters.go @@ -95,7 +95,7 @@ func getName(lc *types.LinterWrapper) string { if hasSettings(lc.Name) { name += fmt.Sprintf("[%[1]s](#%[1]s \"%[1]s configuration\")", lc.Name) } else { - name += fmt.Sprintf("%[1]s[%[2]s](#%[2]s)", spanWithID(lc.Name, "", ""), lc.Name) + name += fmt.Sprintf("%[1]s[%[2]s](#%[2]s \"%[2]s has no configuration\")", spanWithID(lc.Name, "", ""), lc.Name) } if lc.OriginalURL != "" {