mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH
This commit is contained in:
@@ -165,6 +165,7 @@ void DocData::method_doc_from_methodinfo(DocData::MethodDoc &p_method, const Met
|
||||
void DocData::constant_doc_from_variant(DocData::ConstantDoc &p_const, const StringName &p_name, const Variant &p_value, const String &p_desc) {
|
||||
p_const.name = p_name;
|
||||
p_const.value = p_value;
|
||||
p_const.is_value_valid = (p_value.get_type() != Variant::OBJECT);
|
||||
p_const.description = p_desc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user