Custom editor icon section's command wrong or out of date.

In the "*.gdextension" code block, the [Icon] tag does not work in 4.1.1.stable version, and it does not match the naming conventions of other tags. I test it, [icons] tag is worked well. In addition, I added a blank lines between the tag and the content to make it more consistent with other "*.gdextension" code block formatting.

Update with capnm's suggestion. Thank you all for your attention and reply!
This commit is contained in:
Noctor Onwood
2023-08-19 20:42:33 +08:00
committed by gogojokid
parent 91147695c3
commit 306b24246b

View File

@@ -442,8 +442,9 @@ For example:
.. code-block:: none
[Icon]
GDExample = "res://icons/GDExample.svg"
[icons]
GDExample = "res://icons/gd_example.svg"
The path should point to a 16 by 16 pixel SVG image. Read the guide for :ref:`creating icons <doc_editor_icons>`
for more information.