From 6af69f851a3f967769697afa997935c37b4336b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 19 Apr 2019 11:03:46 +0200 Subject: doc: Drop unused tag --- editor/doc/doc_data.cpp | 8 -------- editor/doc/doc_data.h | 1 - 2 files changed, 9 deletions(-) (limited to 'editor/doc') diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp index 8f1d0d9677..4236d5fe0b 100644 --- a/editor/doc/doc_data.cpp +++ b/editor/doc/doc_data.cpp @@ -54,7 +54,6 @@ void DocData::merge_from(const DocData &p_data) { c.description = cf.description; c.brief_description = cf.brief_description; c.tutorials = cf.tutorials; - c.demos = cf.demos; for (int i = 0; i < c.methods.size(); i++) { @@ -837,10 +836,6 @@ Error DocData::_load(Ref parser) { } else if (parser->get_node_type() == XMLParser::NODE_ELEMENT_END && parser->get_node_name() == "tutorials") break; //end of } - } else if (name2 == "demos") { - parser->read(); - if (parser->get_node_type() == XMLParser::NODE_TEXT) - c.demos = parser->get_node_data(); } else if (name2 == "methods") { Error err2 = _parse_methods(parser, c.methods); @@ -1015,9 +1010,6 @@ Error DocData::save_classes(const String &p_default_path, const Map" + c.tutorials.get(i).xml_escape() + ""); } _write_string(f, 1, ""); - _write_string(f, 1, ""); - _write_string(f, 2, c.demos.strip_edges().xml_escape()); - _write_string(f, 1, ""); _write_string(f, 1, ""); c.methods.sort(); diff --git a/editor/doc/doc_data.h b/editor/doc/doc_data.h index 8156acd3d0..d3844adb7e 100644 --- a/editor/doc/doc_data.h +++ b/editor/doc/doc_data.h @@ -86,7 +86,6 @@ public: String brief_description; String description; Vector tutorials; - String demos; Vector methods; Vector signals; Vector constants; -- cgit v1.2.3