diff options
author | David Snopek <dsnopek@gmail.com> | 2023-04-26 16:32:03 -0500 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2023-05-08 11:00:29 -0500 |
commit | a64137d5dd0eb1eca3364a31bdc1b5b8d0ebd8ff (patch) | |
tree | 8ce02d2c3340091e46d1551357f9bc9d0919ad12 /modules/gdscript/editor | |
parent | 26fb911f79d7b16c46ca476923fe1f32ab5d27ed (diff) | |
download | redot-engine-a64137d5dd0eb1eca3364a31bdc1b5b8d0ebd8ff.tar.gz |
Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH
Diffstat (limited to 'modules/gdscript/editor')
-rw-r--r-- | modules/gdscript/editor/gdscript_docgen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/editor/gdscript_docgen.cpp b/modules/gdscript/editor/gdscript_docgen.cpp index 451af996ec..ce64d79747 100644 --- a/modules/gdscript/editor/gdscript_docgen.cpp +++ b/modules/gdscript/editor/gdscript_docgen.cpp @@ -239,6 +239,7 @@ void GDScriptDocGen::generate_docs(GDScript *p_script, const GDP::ClassNode *p_c DocData::ConstantDoc const_doc; const_doc.name = val.identifier->name; const_doc.value = String(Variant(val.value)); + const_doc.is_value_valid = true; const_doc.description = val.doc_description; const_doc.enumeration = name; |