doc: Fix style inconsistencies for [b]Note:[/b] paragraphs

And fix up formatting not supported by makerst.
This commit is contained in:
Rémi Verschelde 2021-10-05 14:24:34 +02:00
parent a5d7b49342
commit 788b3aa27a
No known key found for this signature in database
GPG key ID: C3336907360768E1
41 changed files with 121 additions and 99 deletions

View file

@ -530,7 +530,7 @@
<argument index="0" name="func" type="Callable" />
<description>
Sorts the array using a custom method. The custom method receives two arguments (a pair of elements from the array) and must return either [code]true[/code] or [code]false[/code]. For two elements [code]a[/code] and [code]b[/code], if the given method returns [code]true[/code], element [code]b[/code] will be after element [code]a[/code] in the array.
[b]Note:[/b] you cannot randomize the return value as the heapsort algorithm expects a deterministic result. Doing so will result in unexpected behavior.
[b]Note:[/b] You cannot randomize the return value as the heapsort algorithm expects a deterministic result. Doing so will result in unexpected behavior.
[codeblocks]
[gdscript]
class MyCustomSorter: