From 6783ff69c06a5c6fcb0e22802fedcc1fa32ac25c Mon Sep 17 00:00:00 2001 From: "ocean (they/them)" Date: Fri, 21 Apr 2023 09:32:26 -0400 Subject: Improve and fix GDScript documentation generation & behavior Removes documentation generation (docgen) from the GDScript compiler to its own file. Adds support for GDScript enums and signal parameters and quite a few other assorted fixes and improvements. --- modules/gdscript/gdscript.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'modules/gdscript/gdscript.h') diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 0117ed40ab..7ba6368947 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -83,6 +83,7 @@ class GDScript : public Script { friend class GDScriptFunction; friend class GDScriptAnalyzer; friend class GDScriptCompiler; + friend class GDScriptDocGen; friend class GDScriptLanguage; friend struct GDScriptUtilityFunctionsDefinitions; @@ -113,16 +114,7 @@ class GDScript : public Script { DocData::ClassDoc doc; Vector docs; - String doc_brief_description; - String doc_description; - Vector doc_tutorials; - HashMap doc_functions; - HashMap doc_variables; - HashMap doc_constants; - HashMap doc_signals; - HashMap doc_enums; void _clear_doc(); - void _update_doc(); void _add_doc(const DocData::ClassDoc &p_inner_class); #endif -- cgit v1.2.3