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:
@@ -19,8 +19,7 @@
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_cancel_button">
|
||||
<return type="Button">
|
||||
</return>
|
||||
<return type="Button" />
|
||||
<description>
|
||||
Returns the cancel button.
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user