mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-10 17:20:53 +01:00
chore(lune): add @generated
comment and heading for docsgen
This commit is contained in:
parent
c7f9c8e03c
commit
4ad55c9f52
1 changed files with 3 additions and 1 deletions
|
@ -97,7 +97,9 @@ end
|
||||||
|
|
||||||
local function writeMarkdown(path: string, items: { moonwave.Item })
|
local function writeMarkdown(path: string, items: { moonwave.Item })
|
||||||
local start = os.clock()
|
local start = os.clock()
|
||||||
local buf = ""
|
local buf = "<!-- This file was @generated by `lune run docsgen`, please do not edit this manually, changes will be overwritten. -->\n"
|
||||||
|
buf ..= "# Reference"
|
||||||
|
|
||||||
for _, item in items do
|
for _, item in items do
|
||||||
logger.log("info", "Generating docs for", item.name)
|
logger.log("info", "Generating docs for", item.name)
|
||||||
buf = writeClass(buf, item.name, item.desc)
|
buf = writeClass(buf, item.name, item.desc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue