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.

(cherry picked from commit 7adf4cc9b5de6701a41e27690a69b9892d5eed85)
This commit is contained in:
Rémi Verschelde
2021-07-30 15:28:05 +02:00
parent 6315281031
commit 8dad86ba00
8 changed files with 213 additions and 426 deletions

View File

@@ -10,30 +10,24 @@
</tutorials>
<methods>
<method name="get_constructor" qualifiers="const">
<return type="Dictionary">
</return>
<return type="Dictionary" />
<description>
</description>
</method>
<method name="get_constructor_type" qualifiers="const">
<return type="int" enum="Variant.Type">
</return>
<return type="int" enum="Variant.Type" />
<description>
</description>
</method>
<method name="set_constructor">
<return type="void">
</return>
<argument index="0" name="constructor" type="Dictionary">
</argument>
<return type="void" />
<argument index="0" name="constructor" type="Dictionary" />
<description>
</description>
</method>
<method name="set_constructor_type">
<return type="void">
</return>
<argument index="0" name="type" type="int" enum="Variant.Type">
</argument>
<return type="void" />
<argument index="0" name="type" type="int" enum="Variant.Type" />
<description>
</description>
</method>