Browse Source

Merge pull request #3064 from YeldhamDev/fix_styleguide_broken_ref

Fix nonexistent reference in the "GDScript style guide" page
Nathan Lovato 5 years ago
parent
commit
251518c54d
1 changed files with 2 additions and 1 deletions
  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")
         print("state changed")
         emit_signal("state_changed")
         emit_signal("state_changed")
 
 
+.. _formatting:
 
 
 Formatting
 Formatting
 ----------
 ----------
@@ -402,7 +403,7 @@ Code order
 ----------
 ----------
 
 
 This first section focuses on code order. For formatting, see
 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:
 We suggest to organize GDScript code this way: