diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2026-07-22 13:43:40 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2026-07-22 13:43:40 -0300 |
| commit | d5bbe955840c5c83e37ed19df4d392d7ba0970ed (patch) | |
| tree | 35977691aabb3a65e96508d4277c2067991ee4e3 /manual/2html | |
| parent | 9130ceb19d324472d135e8e644a01e8b16334c31 (diff) | |
| download | lua-d5bbe955840c5c83e37ed19df4d392d7ba0970ed.tar.gz lua-d5bbe955840c5c83e37ed19df4d392d7ba0970ed.tar.bz2 lua-d5bbe955840c5c83e37ed19df4d392d7ba0970ed.zip | |
Details
- Some api_checknelems changed to the more restrict api_checkpop.
- Added a class to the html for APIs in the manual.
- Comments and manual.
Diffstat (limited to 'manual/2html')
| -rwxr-xr-x | manual/2html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manual/2html b/manual/2html index 243f3f22..23f37ac6 100755 --- a/manual/2html +++ b/manual/2html | |||
| @@ -58,7 +58,7 @@ end | |||
| 58 | 58 | ||
| 59 | local function compose (f,g) | 59 | local function compose (f,g) |
| 60 | assert(f and g) | 60 | assert(f and g) |
| 61 | return function (s) return g(f(s)) end | 61 | return function (...) return g(f(...)) end |
| 62 | end | 62 | end |
| 63 | 63 | ||
| 64 | local function concat (f, g) | 64 | local function concat (f, g) |
| @@ -395,9 +395,10 @@ APIEntry = function (e) | |||
| 395 | local apiicmd, ne = string.match(e, "^(.-</span>)(.*)") | 395 | local apiicmd, ne = string.match(e, "^(.-</span>)(.*)") |
| 396 | --io.stderr:write(e) | 396 | --io.stderr:write(e) |
| 397 | if not apiicmd then | 397 | if not apiicmd then |
| 398 | return antipara(Tag.hr() .. Tag.h3(a)) .. Tag.pre(h) .. e | 398 | return antipara(Tag.hr() .. Tag.h3(a)) .. Tag.pre(h, {class="api"}) .. e |
| 399 | else | 399 | else |
| 400 | return antipara(Tag.hr() .. Tag.h3(a)) .. apiicmd .. Tag.pre(h) .. ne | 400 | return antipara(Tag.hr() .. Tag.h3(a)) .. apiicmd .. |
| 401 | Tag.pre(h, {class="api"}) .. ne | ||
| 401 | end | 402 | end |
| 402 | end, | 403 | end, |
| 403 | 404 | ||
