Преглед изворни кода

Fix nonexistent reference in the "GDScript style guide" page

Michael Alexsander пре 5 година
родитељ
комит
83511dc224
1 измењених фајлова са 2 додато и 1 уклоњено
  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: