mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2026-01-03 10:09: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. (cherry picked from commit 7adf4cc9b5de6701a41e27690a69b9892d5eed85)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user