From c526a1e22d088dbe6e9d944903d95cbf4e4436d7 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Sun, 4 Apr 2021 23:25:40 +0300 Subject: [PATCH] Fix misformatted documentation from #47435, #42827, #46991 --- doc/classes/Array.xml | 14 +++++++------- doc/classes/ArrayMesh.xml | 10 ++++++++++ doc/classes/PackedByteArray.xml | 14 +++++++------- doc/classes/PackedColorArray.xml | 14 +++++++------- doc/classes/PackedFloat32Array.xml | 14 +++++++------- doc/classes/PackedFloat64Array.xml | 14 +++++++------- doc/classes/PackedInt32Array.xml | 14 +++++++------- doc/classes/PackedInt64Array.xml | 14 +++++++------- doc/classes/PackedStringArray.xml | 14 +++++++------- doc/classes/PackedVector2Array.xml | 14 +++++++------- doc/classes/PackedVector3Array.xml | 14 +++++++------- doc/classes/Skeleton3D.xml | 10 ++++++++++ doc/classes/Texture2D.xml | 14 +++++++------- 13 files changed, 97 insertions(+), 77 deletions(-) diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index f3cecc081a9..54bbe7a94b3 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -328,13 +328,6 @@ [b]Note:[/b] On large arrays, this method will be slower if the inserted element is close to the beginning of the array (index 0). This is because all elements placed after the newly inserted element have to be reindexed. - - - - - Reverses the order of the elements in the array. - - @@ -474,6 +467,13 @@ Resizes the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are [code]null[/code]. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml index e2c4ed14300..7c1c4656f8a 100644 --- a/doc/classes/ArrayMesh.xml +++ b/doc/classes/ArrayMesh.xml @@ -128,6 +128,16 @@ Will regenerate normal maps for the [ArrayMesh]. + + + + + + + + + + diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index a668c09fdaf..21f835a53cc 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -157,13 +157,6 @@ Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -230,6 +223,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedColorArray.xml b/doc/classes/PackedColorArray.xml index 99b0f0486a8..38240b3154e 100644 --- a/doc/classes/PackedColorArray.xml +++ b/doc/classes/PackedColorArray.xml @@ -79,13 +79,6 @@ Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -152,6 +145,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedFloat32Array.xml b/doc/classes/PackedFloat32Array.xml index 99c2d3cf7ef..6be1d24b5dd 100644 --- a/doc/classes/PackedFloat32Array.xml +++ b/doc/classes/PackedFloat32Array.xml @@ -80,13 +80,6 @@ Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -145,6 +138,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedFloat64Array.xml b/doc/classes/PackedFloat64Array.xml index 5a6d4a48c42..fb7817cb416 100644 --- a/doc/classes/PackedFloat64Array.xml +++ b/doc/classes/PackedFloat64Array.xml @@ -80,13 +80,6 @@ Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -153,6 +146,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedInt32Array.xml b/doc/classes/PackedInt32Array.xml index a6cf311bc27..4ee428dfbcb 100644 --- a/doc/classes/PackedInt32Array.xml +++ b/doc/classes/PackedInt32Array.xml @@ -80,13 +80,6 @@ Inserts a new integer at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -153,6 +146,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedInt64Array.xml b/doc/classes/PackedInt64Array.xml index 05c7c0e0720..51948fcbc86 100644 --- a/doc/classes/PackedInt64Array.xml +++ b/doc/classes/PackedInt64Array.xml @@ -80,13 +80,6 @@ Inserts a new integer at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -153,6 +146,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedStringArray.xml b/doc/classes/PackedStringArray.xml index 9a2ea216241..9748301daea 100644 --- a/doc/classes/PackedStringArray.xml +++ b/doc/classes/PackedStringArray.xml @@ -80,13 +80,6 @@ Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -153,6 +146,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedVector2Array.xml b/doc/classes/PackedVector2Array.xml index 7549d4a0293..1b3201b0722 100644 --- a/doc/classes/PackedVector2Array.xml +++ b/doc/classes/PackedVector2Array.xml @@ -80,13 +80,6 @@ Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -161,6 +154,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/PackedVector3Array.xml b/doc/classes/PackedVector3Array.xml index a55d2eeaede..25d854016aa 100644 --- a/doc/classes/PackedVector3Array.xml +++ b/doc/classes/PackedVector3Array.xml @@ -79,13 +79,6 @@ Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ([code]idx == size()[/code]). - - - - - Reverses the order of the elements in the array. - - @@ -160,6 +153,13 @@ Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. + + + + + Reverses the order of the elements in the array. + + diff --git a/doc/classes/Skeleton3D.xml b/doc/classes/Skeleton3D.xml index cb72ae7e4ce..c6dd6fb142d 100644 --- a/doc/classes/Skeleton3D.xml +++ b/doc/classes/Skeleton3D.xml @@ -245,6 +245,16 @@ [b]Note[/b]: The pose transform needs to be in bone space. Use [method world_transform_to_bone_transform] to convert a world transform, like one you can get from a [Node3D], to bone space. + + + + + + + + + + diff --git a/doc/classes/Texture2D.xml b/doc/classes/Texture2D.xml index b648098a940..c33f32c9e4c 100644 --- a/doc/classes/Texture2D.xml +++ b/doc/classes/Texture2D.xml @@ -63,13 +63,6 @@ Draws a part of the texture using a [CanvasItem] with the [RenderingServer] API. - - - - - Returns an [Image] that is a copy of data from this [Texture2D]. [Image]s can be accessed and manipulated directly. - - @@ -77,6 +70,13 @@ Returns the texture height. + + + + + Returns an [Image] that is a copy of data from this [Texture2D]. [Image]s can be accessed and manipulated directly. + +