diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-26 16:34:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-26 16:34:13 +0100 |
commit | 4cee1cda5e8f66467ea7f29f60cc3a0444ab58aa (patch) | |
tree | 0fe0b327474a7fc15dfd44819dec0cee556278c5 /editor/doc/doc_dump.cpp | |
parent | 5b3459bfc7a65ebcd4cb1065a51863affd4374e4 (diff) | |
parent | 2d20fc39aaa3a3e48f25cbb95f38f54fe2bcdd9f (diff) |
Merge pull request #35589 from akien-mga/doc-drop-category-property
doc: Drop unused 'category' property from header
Diffstat (limited to 'editor/doc/doc_dump.cpp')
-rw-r--r-- | editor/doc/doc_dump.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/editor/doc/doc_dump.cpp b/editor/doc/doc_dump.cpp index edb1a536c3..d7e1d257f2 100644 --- a/editor/doc/doc_dump.cpp +++ b/editor/doc/doc_dump.cpp @@ -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; |