Skip to content

Commit 527f4e9

Browse files
committed
Update class reference contribution link.
1 parent 21fbf03 commit 527f4e9

File tree

6 files changed

+25
-25
lines changed

6 files changed

+25
-25
lines changed

doc/classes/EditorSettings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@
870870
</member>
871871
<member name="interface/editor/editor_language" type="String" setter="" getter="">
872872
The language to use for the editor interface.
873-
Translations are provided by the community. If you spot a mistake, [url=$DOCS_URL/contributing/documentation/editor_and_docs_localization.html]contribute to editor translations on Weblate![/url]
873+
Translations are provided by the community. If you spot a mistake, [url=https://contributing.godotengine.org/en/latest/documentation/translation/index.html]contribute to editor translations on Weblate![/url]
874874
</member>
875875
<member name="interface/editor/editor_screen" type="int" setter="" getter="">
876876
The preferred monitor to display the editor. If [b]Auto[/b], the editor will remember the last screen it was displayed on across multiple sessions.

doc/classes/JavaScriptBridge.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</brief_description>
66
<description>
77
The JavaScriptBridge singleton is implemented only in the Web export. It's used to access the browser's JavaScript context. This allows interaction with embedding pages or calling third-party JavaScript APIs.
8-
[b]Note:[/b] This singleton can be disabled at build-time to improve security. By default, the JavaScriptBridge singleton is enabled. Official export templates also have the JavaScriptBridge singleton enabled. See [url=$DOCS_URL/contributing/development/compiling/compiling_for_web.html]Compiling for the Web[/url] in the documentation for more information.
8+
[b]Note:[/b] This singleton can be disabled at build-time to improve security. By default, the JavaScriptBridge singleton is enabled. Official export templates also have the JavaScriptBridge singleton enabled. See [url=$DOCS_URL/engine_details/development/compiling/compiling_for_web.html]Compiling for the Web[/url] in the documentation for more information.
99
</description>
1010
<tutorials>
1111
<link title="Exporting for the Web: Calling JavaScript from script">$DOCS_URL/tutorials/export/exporting_for_web.html#calling-javascript-from-script</link>

doc/classes/Object.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
[b]Note:[/b] In a boolean context, an [Object] will evaluate to [code]false[/code] if it is equal to [code]null[/code] or it has been freed. Otherwise, an [Object] will always evaluate to [code]true[/code]. See also [method @GlobalScope.is_instance_valid].
2626
</description>
2727
<tutorials>
28-
<link title="Object class introduction">$DOCS_URL/contributing/development/core_and_modules/object_class.html</link>
28+
<link title="Object class introduction">$DOCS_URL/engine_details/architecture/object_class.html</link>
2929
<link title="When and how to avoid using nodes for everything">$DOCS_URL/tutorials/best_practices/node_alternatives.html</link>
3030
<link title="Object notifications">$DOCS_URL/tutorials/best_practices/godot_notifications.html</link>
3131
</tutorials>

doc/classes/Variant.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@
8080
Modifications to a container will modify all references to it. A [Mutex] should be created to lock it if multi-threaded access is desired.
8181
</description>
8282
<tutorials>
83-
<link title="Variant class introduction">$DOCS_URL/contributing/development/core_and_modules/variant_class.html</link>
83+
<link title="Variant class introduction">$DOCS_URL/engine_details/development/core_and_modules/variant_class.html</link>
8484
</tutorials>
8585
</class>

doc/tools/make_rst.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@
6767
"This method describes a valid operator to use with this type as left-hand operand.",
6868
"This value is an integer composed as a bitmask of the following flags.",
6969
"No return value.",
70-
"There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
71-
"There is currently no description for this signal. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
72-
"There is currently no description for this enum. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
73-
"There is currently no description for this constant. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
74-
"There is currently no description for this annotation. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
75-
"There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
76-
"There is currently no description for this constructor. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
77-
"There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
78-
"There is currently no description for this operator. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
79-
"There is currently no description for this theme property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!",
70+
"There is currently no description for this class. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
71+
"There is currently no description for this signal. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
72+
"There is currently no description for this enum. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
73+
"There is currently no description for this constant. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
74+
"There is currently no description for this annotation. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
75+
"There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
76+
"There is currently no description for this constructor. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
77+
"There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
78+
"There is currently no description for this operator. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
79+
"There is currently no description for this theme property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!",
8080
"There are notable differences when using this API with C#. See :ref:`doc_c_sharp_differences` for more information.",
8181
"Deprecated:",
8282
"Experimental:",
@@ -979,7 +979,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
979979
f.write(".. container:: contribute\n\n\t")
980980
f.write(
981981
translate(
982-
"There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
982+
"There is currently no description for this class. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
983983
)
984984
+ "\n\n"
985985
)
@@ -1105,7 +1105,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
11051105
f.write(".. container:: contribute\n\n\t")
11061106
f.write(
11071107
translate(
1108-
"There is currently no description for this signal. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1108+
"There is currently no description for this signal. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
11091109
)
11101110
+ "\n\n"
11111111
)
@@ -1154,7 +1154,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
11541154
f.write(".. container:: contribute\n\n\t")
11551155
f.write(
11561156
translate(
1157-
"There is currently no description for this enum. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1157+
"There is currently no description for this enum. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
11581158
)
11591159
+ "\n\n"
11601160
)
@@ -1189,7 +1189,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
11891189
f.write(".. container:: contribute\n\n\t")
11901190
f.write(
11911191
translate(
1192-
"There is currently no description for this constant. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1192+
"There is currently no description for this constant. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
11931193
)
11941194
+ "\n\n"
11951195
)
@@ -1229,7 +1229,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
12291229
f.write(".. container:: contribute\n\n\t")
12301230
f.write(
12311231
translate(
1232-
"There is currently no description for this annotation. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1232+
"There is currently no description for this annotation. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
12331233
)
12341234
+ "\n\n"
12351235
)
@@ -1292,7 +1292,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
12921292
f.write(".. container:: contribute\n\n\t")
12931293
f.write(
12941294
translate(
1295-
"There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1295+
"There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
12961296
)
12971297
+ "\n\n"
12981298
)
@@ -1340,7 +1340,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
13401340
f.write(".. container:: contribute\n\n\t")
13411341
f.write(
13421342
translate(
1343-
"There is currently no description for this constructor. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1343+
"There is currently no description for this constructor. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
13441344
)
13451345
+ "\n\n"
13461346
)
@@ -1387,7 +1387,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
13871387
f.write(".. container:: contribute\n\n\t")
13881388
f.write(
13891389
translate(
1390-
"There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1390+
"There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
13911391
)
13921392
+ "\n\n"
13931393
)
@@ -1431,7 +1431,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
14311431
f.write(".. container:: contribute\n\n\t")
14321432
f.write(
14331433
translate(
1434-
"There is currently no description for this operator. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1434+
"There is currently no description for this operator. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
14351435
)
14361436
+ "\n\n"
14371437
)
@@ -1476,7 +1476,7 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir:
14761476
f.write(".. container:: contribute\n\n\t")
14771477
f.write(
14781478
translate(
1479-
"There is currently no description for this theme property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!"
1479+
"There is currently no description for this theme property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!"
14801480
)
14811481
+ "\n\n"
14821482
)

editor/doc/editor_help.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#include "modules/mono/csharp_script.h"
6767
#endif
6868

69-
#define CONTRIBUTE_URL vformat("%s/contributing/documentation/updating_the_class_reference.html", GODOT_VERSION_DOCS_URL)
69+
#define CONTRIBUTE_URL "https://contributing.godotengine.org/en/latest/documentation/class_reference.html"
7070

7171
#ifdef MODULE_MONO_ENABLED
7272
// Sync with the types mentioned in https://docs.godotengine.org/en/stable/tutorials/scripting/c_sharp/c_sharp_differences.html

0 commit comments

Comments
 (0)