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.
This commit is contained in:
Rémi Verschelde
2021-07-30 15:28:05 +02:00
parent a1c19b9a1e
commit 7adf4cc9b5
408 changed files with 14025 additions and 28050 deletions

View File

@@ -11,15 +11,13 @@
</tutorials>
<methods>
<method name="get_buttons">
<return type="Array">
</return>
<return type="Array" />
<description>
Returns an [Array] of [Button]s who have this as their [ButtonGroup] (see [member BaseButton.button_group]).
</description>
</method>
<method name="get_pressed_button">
<return type="BaseButton">
</return>
<return type="BaseButton" />
<description>
Returns the current pressed button.
</description>
@@ -30,8 +28,7 @@
</members>
<signals>
<signal name="pressed">
<argument index="0" name="button" type="Object">
</argument>
<argument index="0" name="button" type="Object" />
<description>
Emitted when one of the buttons of the group is pressed.
</description>