APIDump: Added a simple header to the class index.
This commit is contained in:
parent
a1c5ad0594
commit
62b74d0054
@ -193,14 +193,15 @@ function DumpAPIHtml()
|
|||||||
|
|
||||||
f:write([[<html><head><title>MCServer API - class index</title>
|
f:write([[<html><head><title>MCServer API - class index</title>
|
||||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||||
</head><body>
|
</head><body><h1>MCServer API - class index</h1>
|
||||||
|
<p>The following classes are available in the MCServer Lua scripting language:
|
||||||
<ul>
|
<ul>
|
||||||
]]);
|
]]);
|
||||||
for i, cls in ipairs(API) do
|
for i, cls in ipairs(API) do
|
||||||
f:write("<li><a href=\"" .. cls.Name .. ".html\">" .. cls.Name .. "</a></li>\n");
|
f:write("<li><a href=\"" .. cls.Name .. ".html\">" .. cls.Name .. "</a></li>\n");
|
||||||
WriteHtmlClass(cls, API);
|
WriteHtmlClass(cls, API);
|
||||||
end
|
end
|
||||||
f:write("</ul></body></html>");
|
f:write("</ul></p></body></html>");
|
||||||
f:close();
|
f:close();
|
||||||
|
|
||||||
-- Copy the CSS file to the output folder (overwrite any existing):
|
-- Copy the CSS file to the output folder (overwrite any existing):
|
||||||
|
Loading…
Reference in New Issue
Block a user