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:
@ -11,17 +11,14 @@
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_file">
|
||||
<return type="String">
|
||||
</return>
|
||||
<return type="String" />
|
||||
<description>
|
||||
Returns the Ogg Theora video file handled by this [VideoStreamTheora].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_file">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="file" type="String">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="file" type="String" />
|
||||
<description>
|
||||
Sets the Ogg Theora video file that this [VideoStreamTheora] resource handles. The [code]file[/code] name should have the [code].ogv[/code] extension.
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user