36c90af395efb0985f7f840005cb1ff9640d9d16 lrnassar Mon Jan 20 09:19:13 2025 -0800 Additional tweaks to the new docs page, more details in the ticket. Refs #30335 diff --git docs/staticPage.lua docs/staticPage.lua index f236cb7..11003e4 100644 --- docs/staticPage.lua +++ docs/staticPage.lua @@ -105,36 +105,48 @@ local buffer = {} local function add(s) table.insert(buffer, s) end -- ucsc changes start -- debugging of meta info: -- print("vars") -- tprint(variables) -- print("meta") -- tprint(metadata) if metadata["title"] then + add("") + add("") + add("") + add("") + add("") + add("") + add("") + add("") add("
" .. escape(s) .. "
"
-end
function Code(s, attr)
return "" .. escape(s) .. "
"
end
function InlineMath(s)
return "\\(" .. escape(s) .. "\\)"
end
function DisplayMath(s)
return "\\[" .. escape(s) .. "\\]"
end
function SingleQuoted(s)
return "‘" .. s .. "’"
@@ -400,30 +409,34 @@
add('')
end
local class = "even"
for _, row in pairs(rows) do
class = (class == "even" and "odd") or "even"
add('