From 0b10f5f79523686a61ccd42deb0e008004565a82 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sat, 14 Sep 2013 16:27:12 +0200 Subject: APIDump: Do not dump the g_APIDesc and APIDump's functions. --- MCServer/Plugins/APIDump/APIDesc.lua | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'MCServer/Plugins/APIDump/APIDesc.lua') diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 1ee9e9a8d..7e033f2af 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -1308,14 +1308,22 @@ A list of items regarding WebPlugins that have been documented IgnoreFunctions = { - "globals.assert", - "globals.collectgarbage", - "globals.xpcall", + "Globals.assert", + "Globals.collectgarbage", + "Globals.xpcall", "%a+\.__%a+", -- AnyClass.__Anything "%a+\.\.collector", -- AnyClass..collector "%a+\.new", -- AnyClass.new "%a+.new_local", -- AnyClass.new_local "%a+.delete", -- AnyClass.delete + + -- Functions global in the APIDump plugin: + "Initialize", + "DumpAPITxt", + "CreateAPITables", + "DumpAPIHtml", + "ReadDescriptions", + "WriteHtmlClass", }, } ; -- cgit v1.2.3