Browse Source

Fix link to the supported image formats in the Image class

It previously linked to this page which doesn't exist. https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_images.html#supported-image-formats

Now, it should link here: https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/importing_images.html#supported-image-formats

(cherry picked from commit c01c4c687b23707987931d55718cfff9f738eddc)
Manolis Papadeas 3 years ago
parent
commit
3be071f8c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/Image.xml

+ 1 - 1
doc/classes/Image.xml

@@ -267,7 +267,7 @@
 			<return type="int" enum="Error" />
 			<return type="int" enum="Error" />
 			<argument index="0" name="path" type="String" />
 			<argument index="0" name="path" type="String" />
 			<description>
 			<description>
-				Loads an image from file [code]path[/code]. See [url=$DOCS_URL/getting_started/workflow/assets/importing_images.html#supported-image-formats]Supported image formats[/url] for a list of supported image formats and limitations.
+				Loads an image from file [code]path[/code]. See [url=$DOCS_URL/tutorials/assets_pipeline/importing_images.html#supported-image-formats]Supported image formats[/url] for a list of supported image formats and limitations.
 				[b]Warning:[/b] This method should only be used in the editor or in cases when you need to load external images at run-time, such as images located at the [code]user://[/code] directory, and may not work in exported projects.
 				[b]Warning:[/b] This method should only be used in the editor or in cases when you need to load external images at run-time, such as images located at the [code]user://[/code] directory, and may not work in exported projects.
 				See also [ImageTexture] description for usage examples.
 				See also [ImageTexture] description for usage examples.
 			</description>
 			</description>