瀏覽代碼

Merge pull request #4650 from bojidar-bg/add-doctool-member

Save member information in docdata
Rémi Verschelde 9 年之前
父節點
當前提交
bd3dbe5fa3
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tools/doc/doc_data.cpp

+ 2 - 0
tools/doc/doc_data.cpp

@@ -989,6 +989,8 @@ Error DocData::save(const String& p_path) {
 
 				PropertyDoc &p=c.properties[i];
 				_write_string(f,2,"<member name=\""+p.name+"\" type=\""+p.type+"\">");
+				if (p.description!="")
+					_write_string(f,3,p.description.xml_escape());
 				_write_string(f,2,"</member>");
 
 			}