Skip to content

Commit 13f8316

Browse files
committed
Merge pull request #102773 from Calinou/doc-fix-urls
Fix dead links across the class reference
2 parents 9ad7f55 + 4905d03 commit 13f8316

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/classes/BaseMaterial3D.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
</member>
220220
<member name="grow" type="bool" setter="set_grow_enabled" getter="is_grow_enabled" default="false">
221221
If [code]true[/code], enables the vertex grow setting. This can be used to create mesh-based outlines using a second material pass and its [member cull_mode] set to [constant CULL_FRONT]. See also [member grow_amount].
222-
[b]Note:[/b] Vertex growth cannot create new vertices, which means that visible gaps may occur in sharp corners. This can be alleviated by designing the mesh to use smooth normals exclusively using [url=https://wiki.polycount.com/wiki/Face_weighted_normals]face weighted normals[/url] in the 3D authoring software. In this case, grow will be able to join every outline together, just like in the original mesh.
222+
[b]Note:[/b] Vertex growth cannot create new vertices, which means that visible gaps may occur in sharp corners. This can be alleviated by designing the mesh to use smooth normals exclusively using [url=http://wiki.polycount.com/wiki/Face_weighted_normals]face weighted normals[/url] in the 3D authoring software. In this case, grow will be able to join every outline together, just like in the original mesh.
223223
</member>
224224
<member name="grow_amount" type="float" setter="set_grow" getter="get_grow" default="0.0">
225225
Grows object vertices in the direction of their normals. Only effective if [member grow] is [code]true[/code].

doc/classes/HTTPClient.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
<param index="3" name="body" type="String" default="&quot;&quot;" />
144144
<description>
145145
Sends a request to the connected host.
146-
The URL parameter is usually just the part after the host, so for [code]https://somehost.com/index.php[/code], it is [code]/index.php[/code]. When sending requests to an HTTP proxy server, it should be an absolute URL. For [constant HTTPClient.METHOD_OPTIONS] requests, [code]*[/code] is also allowed. For [constant HTTPClient.METHOD_CONNECT] requests, it should be the authority component ([code]host:port[/code]).
146+
The URL parameter is usually just the part after the host, so for [code]https://example.com/index.php[/code], it is [code]/index.php[/code]. When sending requests to an HTTP proxy server, it should be an absolute URL. For [constant HTTPClient.METHOD_OPTIONS] requests, [code]*[/code] is also allowed. For [constant HTTPClient.METHOD_CONNECT] requests, it should be the authority component ([code]host:port[/code]).
147147
Headers are HTTP request headers. For available HTTP methods, see [enum Method].
148148
To create a POST request with query strings to push to the server, do:
149149
[codeblocks]
@@ -171,7 +171,7 @@
171171
<param index="3" name="body" type="PackedByteArray" />
172172
<description>
173173
Sends a raw request to the connected host.
174-
The URL parameter is usually just the part after the host, so for [code]https://somehost.com/index.php[/code], it is [code]/index.php[/code]. When sending requests to an HTTP proxy server, it should be an absolute URL. For [constant HTTPClient.METHOD_OPTIONS] requests, [code]*[/code] is also allowed. For [constant HTTPClient.METHOD_CONNECT] requests, it should be the authority component ([code]host:port[/code]).
174+
The URL parameter is usually just the part after the host, so for [code]https://example.com/index.php[/code], it is [code]/index.php[/code]. When sending requests to an HTTP proxy server, it should be an absolute URL. For [constant HTTPClient.METHOD_OPTIONS] requests, [code]*[/code] is also allowed. For [constant HTTPClient.METHOD_CONNECT] requests, it should be the authority component ([code]host:port[/code]).
175175
Headers are HTTP request headers. For available HTTP methods, see [enum Method].
176176
Sends the body data raw, as a byte array and does not encode it in any way.
177177
</description>

doc/classes/HTTPRequest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
http_request.request_completed.connect(self._http_request_completed)
9191

9292
# Perform the HTTP request. The URL below returns a PNG image as of writing.
93-
var error = http_request.request("https://via.placeholder.com/512")
93+
var error = http_request.request("https://placehold.co/512")
9494
if error != OK:
9595
push_error("An error occurred in the HTTP request.")
9696

@@ -120,7 +120,7 @@
120120
httpRequest.RequestCompleted += HttpRequestCompleted;
121121

122122
// Perform the HTTP request. The URL below returns a PNG image as of writing.
123-
Error error = httpRequest.Request("https://via.placeholder.com/512");
123+
Error error = httpRequest.Request("https://placehold.co/512");
124124
if (error != Error.Ok)
125125
{
126126
GD.PushError("An error occurred in the HTTP request.");

0 commit comments

Comments
 (0)