Variant: Sync docs with new constructors, fixups after #43403

Change DocData comparators for MethodDoc and ArgumentDoc to get a better
ordering of constructors.
This commit is contained in:
Rémi Verschelde
2020-11-09 17:46:03 +01:00
parent efc4d217d6
commit 0f249f5c0a
45 changed files with 764 additions and 647 deletions

View File

@@ -14,6 +14,31 @@
<link title="Advanced vector math">https://docs.godotengine.org/en/latest/tutorials/math/vectors_advanced.html</link>
</tutorials>
<methods>
<method name="Rect2">
<return type="Rect2">
</return>
<description>
Constructs a default-initialized [Rect2] with default (zero) values of [member position] and [member size].
</description>
</method>
<method name="Rect2">
<return type="Rect2">
</return>
<argument index="0" name="from" type="Rect2">
</argument>
<description>
Constructs a [Rect2] as a copy of the given [Rect2].
</description>
</method>
<method name="Rect2">
<return type="Rect2">
</return>
<argument index="0" name="from" type="Rect2i">
</argument>
<description>
Constructs a [Rect2] from a [Rect2i].
</description>
</method>
<method name="Rect2">
<return type="Rect2">
</return>
@@ -40,15 +65,6 @@
Constructs a [Rect2] by x, y, width, and height.
</description>
</method>
<method name="Rect2">
<return type="Rect2">
</return>
<argument index="0" name="from" type="Rect2i">
</argument>
<description>
Constructs a [Rect2] from a [Rect2i].
</description>
</method>
<method name="abs">
<return type="Rect2">
</return>