From 9b39d5ffcf2418ba3427e3cd7f255032317e03f2 Mon Sep 17 00:00:00 2001 From: sammyette Date: Tue, 11 Jul 2023 20:24:20 -0400 Subject: [PATCH] fix(commands/greenhouse): set nil page title --- nature/commands/doc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nature/commands/doc.lua b/nature/commands/doc.lua index a7162bf..7dc33ee 100644 --- a/nature/commands/doc.lua +++ b/nature/commands/doc.lua @@ -60,7 +60,7 @@ Available sections: ]] .. table.concat(modules, ', ') return lunacolors.underline(lunacolors.blue(string.gsub(fname, '.md', ''))) end) if #moddocs ~= 0 then - funcdocs = funcdocs .. '\nSubdocs: ' .. table.concat(subdocs, ', ') .. '\nLMAO' + funcdocs = funcdocs .. '\nSubdocs: ' .. table.concat(subdocs, ', ') end local valsStr = funcdocs:match '%-%-%-\n([^%-%-%-]+)\n' @@ -89,7 +89,7 @@ Available sections: ]] .. table.concat(modules, ', ') local gh = Greenhouse(sinks.out) local backtickOccurence = 0 - local page = Page(lunacolors.format(doc:gsub('`', function() + local page = Page(nil, lunacolors.format(doc:gsub('`', function() backtickOccurence = backtickOccurence + 1 if backtickOccurence % 2 == 0 then return '{reset}'