From ee2993adabeb51a190f737702e7678cb229d95e9 Mon Sep 17 00:00:00 2001 From: Fidel Yin Date: Thu, 10 Jul 2025 20:48:37 +0800 Subject: fix(docs): "commands" item breaks docgen #3944 --- scripts/docgen.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/docgen.lua b/scripts/docgen.lua index 28213cef..613417b1 100755 --- a/scripts/docgen.lua +++ b/scripts/docgen.lua @@ -149,10 +149,7 @@ local function make_lsp_section(config_sections, config_name, config_file, is_ma return end return ('\nCommands:\n%s\n'):format(make_section(0, '\n', { - map_sorted(config.commands, function(name, def) - if def.description then - return string.format('- %s: %s', name, def.description) - end + map_sorted(config.commands, function(name, _) return string.format('- %s', name) end), })) -- cgit v1.2.3-70-g09d2