mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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:
@@ -10,10 +10,8 @@
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="add_spacer">
|
||||
<return type="Control">
|
||||
</return>
|
||||
<argument index="0" name="begin" type="bool">
|
||||
</argument>
|
||||
<return type="Control" />
|
||||
<argument index="0" name="begin" type="bool" />
|
||||
<description>
|
||||
Adds a [Control] node to the box as a spacer. If [code]begin[/code] is [code]true[/code], it will insert the [Control] node in front of all other children.
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user