summaryrefslogtreecommitdiff
path: root/editor/doc/doc_dump.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-14 17:38:20 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-14 17:38:21 +0100
commitdacfdd8f336b61c10042a9662376cbc3771d6a69 (patch)
tree36d0bd07061ecbcd791c9dbac8e93820d1466bda /editor/doc/doc_dump.cpp
parent11ee97cbb214ab84e7a7f363a4cfe690f25f9849 (diff)
doc: Only encode version branch (x.y) in class header
This avoids a big diff on patch version updates.
Diffstat (limited to 'editor/doc/doc_dump.cpp')
-rw-r--r--editor/doc/doc_dump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/doc/doc_dump.cpp b/editor/doc/doc_dump.cpp
index d7e1d257f2..5f7fa53ee7 100644
--- a/editor/doc/doc_dump.cpp
+++ b/editor/doc/doc_dump.cpp
@@ -83,7 +83,7 @@ void DocDump::dump(const String &p_file) {
FileAccess *f = FileAccess::open(p_file, FileAccess::WRITE);
_write_string(f, 0, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
- _write_string(f, 0, String("<doc version=\"") + VERSION_NUMBER + "\" name=\"Engine Types\">");
+ _write_string(f, 0, String("<doc version=\"") + VERSION_BRANCH + "\" name=\"Engine Types\">");
while (class_list.size()) {