Sfoglia il codice sorgente

Compiling: Reference `doc_getting_source` in all platform-specific pages

(cherry picked from commit 26dd787ec015a39dc43f5ab5945a78f2ba4b5fa4)
Rémi Verschelde 3 anni fa
parent
commit
c3de525495

+ 4 - 1
development/compiling/compiling_for_android.rst

@@ -35,7 +35,10 @@ For compiling under Windows, Linux or macOS, the following is required:
 
    -  You can download a build from `ojdkbuild <https://github.com/ojdkbuild/ojdkbuild>`_.
 
-.. seealso:: For a general overview of SCons usage for Godot, see
+.. seealso:: To get the Godot source code for compiling, see
+             :ref:`doc_getting_source`.
+
+             For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
 .. _doc_android_setting_up_the_buildsystem:

+ 4 - 1
development/compiling/compiling_for_ios.rst

@@ -13,7 +13,10 @@ Requirements
    to run ``scons`` in a terminal when installed).
 -  Xcode 10.0 (or later) with the iOS (10.0) SDK and the command line tools.
 
-.. seealso:: For a general overview of SCons usage for Godot, see
+.. seealso:: To get the Godot source code for compiling, see
+             :ref:`doc_getting_source`.
+
+             For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
 Compiling

+ 4 - 1
development/compiling/compiling_for_osx.rst

@@ -30,7 +30,10 @@ For compiling under macOS, the following is required:
 
               sudo port install scons yasm
 
-.. seealso:: For a general overview of SCons usage for Godot, see
+.. seealso:: To get the Godot source code for compiling, see
+             :ref:`doc_getting_source`.
+
+             For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
 Compiling

+ 4 - 1
development/compiling/compiling_for_uwp.rst

@@ -26,7 +26,10 @@ Requirements
           This page will eventually be updated in the future to reflect
           the new build instructions.
 
-.. seealso:: For a general overview of SCons usage for Godot, see
+.. seealso:: To get the Godot source code for compiling, see
+             :ref:`doc_getting_source`.
+
+             For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
 Compiling

+ 4 - 1
development/compiling/compiling_for_web.rst

@@ -14,7 +14,10 @@ To compile export templates for the Web, the following is required:
 -  `Python 3.5+ <https://www.python.org/>`__.
 -  `SCons 3.0+ <https://www.scons.org>`__ build system.
 
-.. seealso:: For a general overview of SCons usage for Godot, see
+.. seealso:: To get the Godot source code for compiling, see
+             :ref:`doc_getting_source`.
+
+             For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
 Building export templates

+ 5 - 3
development/compiling/compiling_for_windows.rst

@@ -34,7 +34,10 @@ For compiling under Windows, the following is required:
           For each MSYS2 MinGW subsystem, you should then run
           `pip3 install scons` in its shell.
 
-.. seealso:: For a general overview of SCons usage for Godot, see
+.. seealso:: To get the Godot source code for compiling, see
+             :ref:`doc_getting_source`.
+
+             For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
 Setting up Python
@@ -85,8 +88,7 @@ a **Repair** option, which won't let you install C++ tools.
 Downloading Godot's source
 --------------------------
 
-Godot's source code is `hosted on GitHub <https://github.com/godotengine/godot>`_.
-Downloading it (cloning) using `Git <https://git-scm.com/>`_ is recommended.
+Refer to :ref:`doc_getting_source` for detailed instructions.
 
 The tutorial will assume from now on that you placed the source code in
 ``C:\godot``.

+ 4 - 1
development/compiling/compiling_for_x11.rst

@@ -26,7 +26,10 @@ required:
 -  *Optional* - libudev (build with ``udev=yes``).
 -  *Optional* - yasm (for WebM SIMD optimizations).
 
-.. seealso:: For a general overview of SCons usage for Godot, see
+.. seealso:: To get the Godot source code for compiling, see
+             :ref:`doc_getting_source`.
+
+             For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
 
 Distro-specific one-liners