mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
remove paragraphs in param/return value list
This commit is contained in:
parent
f4337138e3
commit
b41a0b59a8
68
index.html
68
index.html
File diff suppressed because one or more lines are too long
@ -189,7 +189,7 @@ function Function(M)
|
|||||||
F('<div class="arguments">Parameters:<dl>')
|
F('<div class="arguments">Parameters:<dl>')
|
||||||
if #M.params == 0 then F('<dt>None</dt>') end
|
if #M.params == 0 then F('<dt>None</dt>') end
|
||||||
for _,p in ipairs(M.params) do
|
for _,p in ipairs(M.params) do
|
||||||
F('<dt>%s <code>%s</code></dt><dd>%s</dd>', p[1], p[2], markup(p[3]))
|
F('<dt>%s <code>%s</code></dt><dd>%s</dd>', p[1], p[2], markup(p[3]):sub(4,-5))
|
||||||
end
|
end
|
||||||
F('</dl></div>')
|
F('</dl></div>')
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ function Function(M)
|
|||||||
F('<div class="returns">Returns:<dl>')
|
F('<div class="returns">Returns:<dl>')
|
||||||
if #M.returns == 0 then F('<dt>Nothing</dt>') end
|
if #M.returns == 0 then F('<dt>Nothing</dt>') end
|
||||||
for _,r in ipairs(M.returns) do
|
for _,r in ipairs(M.returns) do
|
||||||
F('<dt>%s</dt><dd>%s</dd>', r[1], markup(r[2]))
|
F('<dt>%s</dt><dd>%s</dd>', r[1], markup(r[2]):sub(4,-5))
|
||||||
end
|
end
|
||||||
F('</dl></div>')
|
F('</dl></div>')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user