Browse Source

Merge pull request #4330 from Calinou/update-gdnative-urls

Update GDNative repository and demo URLs
Nathan Lovato 4 years ago
parent
commit
02072f9095

+ 4 - 4
tutorials/plugins/gdnative/gdnative-c-example.rst

@@ -13,7 +13,7 @@ that is to come after this.
 
 
 Before we begin, you can download the source code to the example object we
 Before we begin, you can download the source code to the example object we
 describe below in the `GDNative-demos repository
 describe below in the `GDNative-demos repository
-<https://github.com/GodotNativeTools/GDNative-demos/tree/master/c/SimpleDemo>`_.
+<https://docs.godotengine.org/en/latest/tutorials/scripting/gdnative/gdnative_c_example.html>`_.
 
 
 This example project also contains a SConstruct file that makes compiling a
 This example project also contains a SConstruct file that makes compiling a
 little easier, but in this tutorial we'll be doing things by hand to
 little easier, but in this tutorial we'll be doing things by hand to
@@ -53,7 +53,7 @@ Before we start you'll need a few things:
    manager. On macOS, you can install Xcode from the Mac App Store. On Windows,
    manager. On macOS, you can install Xcode from the Mac App Store. On Windows,
    you can use Visual Studio 2015 or later, or MinGW-w64.
    you can use Visual Studio 2015 or later, or MinGW-w64.
 3) A Git clone of the `godot_headers
 3) A Git clone of the `godot_headers
-   repository <https://github.com/GodotNativeTools/godot_headers>`_: these are
+   repository <https://github.com/godotengine/godot_headers>`_: these are
    the C headers for Godot's public API exposed to GDNative.
    the C headers for Godot's public API exposed to GDNative.
 
 
 For the latter, we suggest that you create a dedicated folder for this GDNative
 For the latter, we suggest that you create a dedicated folder for this GDNative
@@ -61,7 +61,7 @@ example project, open a terminal in that folder and execute:
 
 
 .. code-block:: none
 .. code-block:: none
 
 
-    git clone https://github.com/GodotNativeTools/godot_headers
+    git clone https://github.com/godotengine/godot_headers
 
 
 This will download the required files into that folder.
 This will download the required files into that folder.
 
 
@@ -515,7 +515,7 @@ select our ``.gdnlib`` file by clicking on *Library* and selecting *Load*:
     The *Class Name* must have the same spelling as the one given in ``godot_nativescript_init``
     The *Class Name* must have the same spelling as the one given in ``godot_nativescript_init``
     when registering the class.
     when registering the class.
 
 
-   
+
 Finally, click on the save icon and save this as ``bin/simple.gdns``:
 Finally, click on the save icon and save this as ``bin/simple.gdns``:
 
 
 .. image:: img/save_gdns.gif
 .. image:: img/save_gdns.gif

+ 5 - 5
tutorials/plugins/gdnative/gdnative-cpp-example.rst

@@ -33,7 +33,7 @@ There are a few prerequisites you'll need:
 - a C++ compiler,
 - a C++ compiler,
 - SCons as a build tool,
 - SCons as a build tool,
 - a copy of the `godot-cpp
 - a copy of the `godot-cpp
-  repository <https://github.com/GodotNativeTools/godot-cpp>`__.
+  repository <https://github.com/godotengine/godot-cpp>`__.
 
 
 See also :ref:`Compiling <toc-devel-compiling>` as the build tools are identical
 See also :ref:`Compiling <toc-devel-compiling>` as the build tools are identical
 to the ones you need to compile Godot from source.
 to the ones you need to compile Godot from source.
@@ -55,7 +55,7 @@ Git submodules:
     mkdir gdnative_cpp_example
     mkdir gdnative_cpp_example
     cd gdnative_cpp_example
     cd gdnative_cpp_example
     git init
     git init
-    git submodule add https://github.com/GodotNativeTools/godot-cpp
+    git submodule add https://github.com/godotengine/godot-cpp
     cd godot-cpp
     cd godot-cpp
     git submodule update --init
     git submodule update --init
 
 
@@ -64,7 +64,7 @@ Git submodules:
     mkdir gdnative_cpp_example
     mkdir gdnative_cpp_example
     cd gdnative_cpp_example
     cd gdnative_cpp_example
     git init
     git init
-    git submodule add -b 3.0 https://github.com/GodotNativeTools/godot-cpp
+    git submodule add -b 3.0 https://github.com/godotengine/godot-cpp
     cd godot-cpp
     cd godot-cpp
     git submodule update --init
     git submodule update --init
 
 
@@ -80,13 +80,13 @@ Do make sure you clone recursive to pull in both repositories:
 
 
     mkdir gdnative_cpp_example
     mkdir gdnative_cpp_example
     cd gdnative_cpp_example
     cd gdnative_cpp_example
-    git clone --recursive https://github.com/GodotNativeTools/godot-cpp
+    git clone --recursive https://github.com/godotengine/godot-cpp
 
 
  .. code-tab:: none Godot 3.0
  .. code-tab:: none Godot 3.0
 
 
     mkdir gdnative_cpp_example
     mkdir gdnative_cpp_example
     cd gdnative_cpp_example
     cd gdnative_cpp_example
-    git clone --recursive -b 3.0 https://github.com/GodotNativeTools/godot-cpp
+    git clone --recursive -b 3.0 https://github.com/godotengine/godot-cpp
 
 
 .. note::
 .. note::