From 7adf4cc9b5de6701a41e27690a69b9892d5eed85 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Fri, 30 Jul 2021 15:28:05 +0200 Subject: doc: Use self-closing tags for `return` and `argument` For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there. --- modules/gdnative/doc_classes/NativeScript.xml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'modules/gdnative/doc_classes/NativeScript.xml') diff --git a/modules/gdnative/doc_classes/NativeScript.xml b/modules/gdnative/doc_classes/NativeScript.xml index f2e9cac6dc..397d12a3a9 100644 --- a/modules/gdnative/doc_classes/NativeScript.xml +++ b/modules/gdnative/doc_classes/NativeScript.xml @@ -8,42 +8,34 @@ - - + Returns the documentation string that was previously set with [code]godot_nativescript_set_class_documentation[/code]. - - - - + + Returns the documentation string that was previously set with [code]godot_nativescript_set_method_documentation[/code]. - - - - + + Returns the documentation string that was previously set with [code]godot_nativescript_set_property_documentation[/code]. - - - - + + Returns the documentation string that was previously set with [code]godot_nativescript_set_signal_documentation[/code]. - - + Constructs a new object of the base type with a script of this type already attached. [i]Note[/i]: Any arguments passed to this function will be ignored and not passed to the native constructor function. This will change with in a future API extension. -- cgit v1.2.3