dad2b237d480ba64706fbb6c63d092b2738a2413 jnavarr5 Mon Aug 24 15:33:38 2026 -0700 Add ### headings as indented TOC sub-items and fix docs sidebar highlighting, refs #36320 diff --git docs/staticPage.lua docs/staticPage.lua index 31aba84f10c..d6ff5208871 100644 --- docs/staticPage.lua +++ docs/staticPage.lua @@ -131,31 +131,32 @@ add("") add("/style/bootstrap-3-3-7.min.css\">") add("") add("
\n" .. s .. "\n
" end -- lev is an integer, the header level. function Header(lev, s, attr) local lines = { } if lev == 1 then idStr = simplifyId(s) - table.insert(headers, {text = s, id = idStr}) + table.insert(headers, {text = s, id = idStr, sub = false}) table.insert(lines, "\n" .. s .. "\n" end function HorizontalRule() return "