mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
[doc] update api doc
This commit is contained in:
parent
5d9af414fa
commit
9b05bc143b
2 changed files with 48 additions and 30 deletions
|
|
@ -73,12 +73,12 @@ local function process(content)
|
|||
end
|
||||
|
||||
local function generate_file(input, output)
|
||||
local f = io.open(input, "r")
|
||||
local f = assert(io.open(input, "r"))
|
||||
local content = f:read("a")
|
||||
f:close()
|
||||
|
||||
local out = process(content, output)
|
||||
f = io.open(output, "w")
|
||||
local out = process(content)
|
||||
f = assert(io.open(output, "w"))
|
||||
f:write(out)
|
||||
f:close()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue