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:
@@ -8,20 +8,15 @@
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_stage_source" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage">
|
||||
</argument>
|
||||
<return type="String" />
|
||||
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_stage_source">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage">
|
||||
</argument>
|
||||
<argument index="1" name="source" type="String">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
||||
<argument index="1" name="source" type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user