Explorar el Código

Merge pull request #3064 from YeldhamDev/fix_styleguide_broken_ref

Fix nonexistent reference in the "GDScript style guide" page
Nathan Lovato hace 5 años
padre
commit
251518c54d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      getting_started/scripting/gdscript/gdscript_styleguide.rst

+ 2 - 1
getting_started/scripting/gdscript/gdscript_styleguide.rst

@@ -86,6 +86,7 @@ Here is a complete class example based on these guidelines:
         print("state changed")
         emit_signal("state_changed")
 
+.. _formatting:
 
 Formatting
 ----------
@@ -402,7 +403,7 @@ Code order
 ----------
 
 This first section focuses on code order. For formatting, see
-:ref:`code_formatting`. For naming conventions, see :ref:`naming_conventions`.
+:ref:`formatting`. For naming conventions, see :ref:`naming_conventions`.
 
 We suggest to organize GDScript code this way: