diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua index 32de2890e..47848c26a 100644 --- a/Server/Plugins/APIDump/main_APIDump.lua +++ b/Server/Plugins/APIDump/main_APIDump.lua @@ -778,12 +778,17 @@ local function WriteHtmlClass(a_ClassAPI, a_ClassMenu) cf:write("
Name | Parameters | Return value | Notes |
---|---|---|---|
", func.Name, " | \n"); + -- Increase number by one + TableOverloadedFunctions[func.Name] = (TableOverloadedFunctions[func.Name] or 0) + 1 + -- Add the anchor names as a title + cf:write("|||
", func.Name, " | \n"); cf:write("", LinkifyString(func.Params or "", (a_InheritedName or a_ClassAPI.Name)), " | \n"); cf:write("", LinkifyString(func.Return or "", (a_InheritedName or a_ClassAPI.Name)), " | \n"); cf:write("", StaticClause .. LinkifyString(func.Notes or "(undocumented)", (a_InheritedName or a_ClassAPI.Name)), " |
Name | Value | Notes |
---|---|---|
", cons.Name, " | \n"); + cf:write("||
", cons.Name, " | \n"); cf:write("", cons.Value, " | \n"); cf:write("", LinkifyString(cons.Notes or "", a_Source), " |
Name | Type | Notes |
---|---|---|
", var.Name, " | \n"); + cf:write("||
", var.Name, " | \n"); cf:write("", LinkifyString(var.Type or "(undocumented)", a_InheritedName or a_ClassAPI.Name), " | \n"); cf:write("", LinkifyString(var.Notes or "", a_InheritedName or a_ClassAPI.Name), " | \n