From 862994a8ef15ee97a05f195d70269693092baeb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 6 Oct 2021 13:48:48 +0200 Subject: doc: Update links to latest documentation after content reorganization --- modules/gdnative/doc_classes/GDNativeLibrary.xml | 4 +-- modules/gdscript/doc_classes/GDScript.xml | 2 +- modules/mono/doc_classes/CSharpScript.xml | 2 +- modules/visual_script/config.py | 1 + modules/visual_script/doc_classes/VisualScript.xml | 2 +- .../doc_classes/VisualScriptCustomNodes.xml | 37 ++++++++++++++++++++++ 6 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 modules/visual_script/doc_classes/VisualScriptCustomNodes.xml (limited to 'modules') diff --git a/modules/gdnative/doc_classes/GDNativeLibrary.xml b/modules/gdnative/doc_classes/GDNativeLibrary.xml index 3654870b09..6b3bd714b9 100644 --- a/modules/gdnative/doc_classes/GDNativeLibrary.xml +++ b/modules/gdnative/doc_classes/GDNativeLibrary.xml @@ -7,8 +7,8 @@ A GDNative library can implement [NativeScript]s, global functions to call with the [GDNative] class, or low-level engine extensions through interfaces such as XRInterfaceGDNative. The library must be compiled for each platform and architecture that the project will run on. - https://docs.godotengine.org/en/latest/tutorials/plugins/gdnative/gdnative-c-example.html - https://docs.godotengine.org/en/latest/tutorials/plugins/gdnative/gdnative-cpp-example.html + https://docs.godotengine.org/en/latest/tutorials/scripting/gdnative/gdnative_c_example.html + https://docs.godotengine.org/en/latest/tutorials/scripting/gdnative/gdnative_cpp_example.html diff --git a/modules/gdscript/doc_classes/GDScript.xml b/modules/gdscript/doc_classes/GDScript.xml index d45202bd40..0a448ed88c 100644 --- a/modules/gdscript/doc_classes/GDScript.xml +++ b/modules/gdscript/doc_classes/GDScript.xml @@ -8,7 +8,7 @@ [method new] creates a new instance of the script. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes. - https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/index.html + https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/index.html diff --git a/modules/mono/doc_classes/CSharpScript.xml b/modules/mono/doc_classes/CSharpScript.xml index 45a6f991bf..abd860a55f 100644 --- a/modules/mono/doc_classes/CSharpScript.xml +++ b/modules/mono/doc_classes/CSharpScript.xml @@ -8,7 +8,7 @@ See also [GodotSharp]. - https://docs.godotengine.org/en/latest/getting_started/scripting/c_sharp/index.html + https://docs.godotengine.org/en/latest/tutorials/scripting/c_sharp/index.html diff --git a/modules/visual_script/config.py b/modules/visual_script/config.py index b15479797c..e8990c43c8 100644 --- a/modules/visual_script/config.py +++ b/modules/visual_script/config.py @@ -17,6 +17,7 @@ def get_doc_classes(): "VisualScriptConstant", "VisualScriptConstructor", "VisualScriptCustomNode", + "VisualScriptCustomNodes", "VisualScriptDeconstruct", "VisualScriptEditor", "VisualScriptEmitSignal", diff --git a/modules/visual_script/doc_classes/VisualScript.xml b/modules/visual_script/doc_classes/VisualScript.xml index 372d46bc10..be6bf00e50 100644 --- a/modules/visual_script/doc_classes/VisualScript.xml +++ b/modules/visual_script/doc_classes/VisualScript.xml @@ -9,7 +9,7 @@ You are most likely to use this class via the Visual Script editor or when writing plugins for it. - https://docs.godotengine.org/en/latest/getting_started/scripting/visual_script/index.html + https://docs.godotengine.org/en/latest/tutorials/scripting/visual_script/index.html diff --git a/modules/visual_script/doc_classes/VisualScriptCustomNodes.xml b/modules/visual_script/doc_classes/VisualScriptCustomNodes.xml new file mode 100644 index 0000000000..1681da7653 --- /dev/null +++ b/modules/visual_script/doc_classes/VisualScriptCustomNodes.xml @@ -0,0 +1,37 @@ + + + + Manages custom nodes for the Visual Script editor. + + + This singleton can be used to manage (i.e., add or remove) custom nodes for the Visual Script editor. + + + + + + + + + + + Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the [code]category[/code] as the parameter. + + + + + + + + Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed. + + + + + + + Emitted when a custom Visual Script node is added or removed. + + + + -- cgit v1.2.3