Browse Source

Merge pull request #4384 from NathanLovato/edit/add-note-gdscript-styleguide

Add note about line skips in the style guide
Nathan Lovato 4 năm trước cách đây
mục cha
commit
cc990f9ded
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      tutorials/scripting/gdscript/gdscript_styleguide.rst

+ 3 - 0
tutorials/scripting/gdscript/gdscript_styleguide.rst

@@ -254,6 +254,9 @@ Surround functions and class definitions with two blank lines:
 
 Use one blank line inside functions to separate logical sections.
 
+.. note:: We use a single line between classes and function definitions in the class reference and
+          in short code snippets in this documentation.
+
 Line length
 ~~~~~~~~~~~