mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09: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:
parent
689db68822
commit
2d20fc39aa
655 changed files with 659 additions and 671 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue