summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-14 21:47:11 +0200
committermadmaxoft <github@xoft.cz>2013-09-14 21:47:11 +0200
commit62b74d00544f71791a5b53194637265afe968686 (patch)
tree92491fd87b13fca4ef12554fcc3a06c6a82f7d1e /MCServer/Plugins/APIDump/main.lua
parentSet the minimum viewdistance to 3. (diff)
downloadcuberite-62b74d00544f71791a5b53194637265afe968686.tar
cuberite-62b74d00544f71791a5b53194637265afe968686.tar.gz
cuberite-62b74d00544f71791a5b53194637265afe968686.tar.bz2
cuberite-62b74d00544f71791a5b53194637265afe968686.tar.lz
cuberite-62b74d00544f71791a5b53194637265afe968686.tar.xz
cuberite-62b74d00544f71791a5b53194637265afe968686.tar.zst
cuberite-62b74d00544f71791a5b53194637265afe968686.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/main.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua
index 758df8341..68c8b63bc 100644
--- a/MCServer/Plugins/APIDump/main.lua
+++ b/MCServer/Plugins/APIDump/main.lua
@@ -193,14 +193,15 @@ function DumpAPIHtml()
f:write([[<html><head><title>MCServer API - class index</title>
<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>
]]);
for i, cls in ipairs(API) do
f:write("<li><a href=\"" .. cls.Name .. ".html\">" .. cls.Name .. "</a></li>\n");
WriteHtmlClass(cls, API);
end
- f:write("</ul></body></html>");
+ f:write("</ul></p></body></html>");
f:close();
-- Copy the CSS file to the output folder (overwrite any existing):