From af8e35e14298cfb4221b8095924734163ad41bd2 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 23 Apr 2021 18:49:09 +0200 Subject: [PATCH] Add a "see also" link to the GDScript grammar in the GDScript section The page is in the Development section, but it's not easy to discover. (cherry picked from commit ea7814b25c0ccd0aac728d54aedad461ea3c868d) --- getting_started/scripting/gdscript/gdscript_basics.rst | 2 +- getting_started/scripting/gdscript/index.rst | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/getting_started/scripting/gdscript/gdscript_basics.rst b/getting_started/scripting/gdscript/gdscript_basics.rst index e0c203ef1..5f4708918 100644 --- a/getting_started/scripting/gdscript/gdscript_basics.rst +++ b/getting_started/scripting/gdscript/gdscript_basics.rst @@ -1142,7 +1142,7 @@ in other languages):: There is no need to call them explicitly when overloading them. -Class Constructor +Class constructor ^^^^^^^^^^^^^^^^^ The class constructor, called on class instantiation, is named ``_init``. As diff --git a/getting_started/scripting/gdscript/index.rst b/getting_started/scripting/gdscript/index.rst index c0f149e55..16ee4e61e 100644 --- a/getting_started/scripting/gdscript/index.rst +++ b/getting_started/scripting/gdscript/index.rst @@ -12,3 +12,8 @@ GDScript static_typing warning_system gdscript_format_string + +.. seealso:: + + See :ref:`doc_gdscript_grammar` if you are interested in writing a third-party + tool that interacts with GDScript, such as a linter or formatter.