mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
(cherry picked from commit 81064cc239)
This commit is contained in:
@@ -1100,7 +1100,6 @@ Error DocData::save_classes(const String &p_default_path, const Map<String, Stri
|
||||
if (c.inherits != "") {
|
||||
header += " inherits=\"" + c.inherits + "\"";
|
||||
}
|
||||
header += String(" version=\"") + VERSION_BRANCH + "\"";
|
||||
// Reference the XML schema so editors can provide error checking.
|
||||
// Modules are nested deep, so change the path to reference the same schema everywhere.
|
||||
const String schema_path = save_path.find("modules/") != -1 ? "../../../doc/class.xsd" : "../class.xsd";
|
||||
|
||||
Reference in New Issue
Block a user