mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
doc: Only encode version branch (x.y) in class header
This avoids a big diff on patch version updates.
(cherry picked from commit dacfdd8f33)
This commit is contained in:
@@ -1030,7 +1030,7 @@ Error DocData::save_classes(const String &p_default_path, const Map<String, Stri
|
||||
String header = "<class name=\"" + c.name + "\"";
|
||||
if (c.inherits != "")
|
||||
header += " inherits=\"" + c.inherits + "\"";
|
||||
header += String(" version=\"") + VERSION_NUMBER + "\"";
|
||||
header += String(" version=\"") + VERSION_BRANCH + "\"";
|
||||
header += ">";
|
||||
_write_string(f, 0, header);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user