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:
@@ -12,16 +12,13 @@
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_height" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<return type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_height">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="height" type="float">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="height" type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user