mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11: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.
This commit is contained in:
@@ -8,26 +8,20 @@
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_spirv" qualifiers="const">
|
||||
<return type="RDShaderSPIRV">
|
||||
</return>
|
||||
<argument index="0" name="version" type="StringName" default="&""">
|
||||
</argument>
|
||||
<return type="RDShaderSPIRV" />
|
||||
<argument index="0" name="version" type="StringName" default="&""" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_version_list" qualifiers="const">
|
||||
<return type="PackedStringArray">
|
||||
</return>
|
||||
<return type="PackedStringArray" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_bytecode">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bytecode" type="RDShaderSPIRV">
|
||||
</argument>
|
||||
<argument index="1" name="version" type="StringName" default="&""">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="bytecode" type="RDShaderSPIRV" />
|
||||
<argument index="1" name="version" type="StringName" default="&""" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user