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,20 +10,15 @@
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_param" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="param" type="int" enum="SliderJoint3D.Param">
|
||||
</argument>
|
||||
<return type="float" />
|
||||
<argument index="0" name="param" type="int" enum="SliderJoint3D.Param" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_param">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="param" type="int" enum="SliderJoint3D.Param">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="float">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="param" type="int" enum="SliderJoint3D.Param" />
|
||||
<argument index="1" name="value" type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user