You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
doc: Drop unused 'category' property from header
We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
This commit is contained in:
@@ -93,16 +93,14 @@ void DocDump::dump(const String &p_file) {
|
||||
String inherits = ClassDB::get_parent_class(name);
|
||||
if (inherits != "")
|
||||
header += " inherits=\"" + inherits + "\"";
|
||||
String category = ClassDB::get_category(name);
|
||||
if (category == "")
|
||||
category = "Core";
|
||||
header += " category=\"" + category + "\"";
|
||||
header += ">";
|
||||
_write_string(f, 0, header);
|
||||
|
||||
_write_string(f, 1, "<brief_description>");
|
||||
_write_string(f, 1, "</brief_description>");
|
||||
|
||||
_write_string(f, 1, "<description>");
|
||||
_write_string(f, 1, "</description>");
|
||||
|
||||
_write_string(f, 1, "<methods>");
|
||||
|
||||
List<MethodInfo> method_list;
|
||||
|
||||
Reference in New Issue
Block a user