diff --git a/ldoc/html/ldoc_css.lua b/ldoc/html/ldoc_css.lua index 4470045..76756b1 100644 --- a/ldoc/html/ldoc_css.lua +++ b/ldoc/html/ldoc_css.lua @@ -272,6 +272,11 @@ table.function_list td { table.function_list td.name { background-color: #f0f0f0; ; min-width: 200px; } table.function_list td.summary { width: 100%; } +ul.nowrap { + overflow:auto; + whitespace:nowrap; +} + dl.table dt, dl.function dt {border-top: 1px solid #ccc; padding-top: 1em;} dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;} dl.table h3, dl.function h3 {font-size: .95em;} diff --git a/ldoc/html/ldoc_ltp.lua b/ldoc/html/ldoc_ltp.lua index 450e199..eee6277 100644 --- a/ldoc/html/ldoc_ltp.lua +++ b/ldoc/html/ldoc_ltp.lua @@ -24,7 +24,6 @@ return [==[ # local use_li = ldoc.use_li # local display_name = ldoc.display_name # local iter = ldoc.modules.iter -# ---local M = ldoc.markup # local function M(txt,item) return ldoc.markup(txt,item,ldoc.plain) end # local nowrap = ldoc.wrap and '' or 'nowrap' @@ -54,7 +53,7 @@ return [==[ # if ldoc.no_summary and module and not ldoc.one then -- bang out the functions on the side # for kind, items in module.kinds() do

$(kind)

-