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

minor grammar and typo in gdscript_documentation_comments.rst

Cameron пре 2 година
родитељ
комит
da69035b1c
1 измењених фајлова са 6 додато и 6 уклоњено
  1. 6 6
      tutorials/scripting/gdscript/gdscript_documentation_comments.rst

+ 6 - 6
tutorials/scripting/gdscript/gdscript_documentation_comments.rst

@@ -3,7 +3,7 @@
 GDScript documentation comments
 GDScript documentation comments
 ===============================
 ===============================
 
 
-In GDScript, comments can be used to document your code and add description to the
+In GDScript, comments can be used to document your code and add descriptions to the
 members of a script. There are two differences between a normal comment and a documentation
 members of a script. There are two differences between a normal comment and a documentation
 comment. Firstly, a documentation comment should start with double hash symbols
 comment. Firstly, a documentation comment should start with double hash symbols
 ``##``. Secondly, it must immediately precede a script member, or for script descriptions,
 ``##``. Secondly, it must immediately precede a script member, or for script descriptions,
@@ -22,8 +22,8 @@ suggested format for script documentation can be divided into three parts.
 - Tutorials.
 - Tutorials.
 
 
 To separate these from each other, the documentation comments use special tags.
 To separate these from each other, the documentation comments use special tags.
-The tag must be at the beginning of a line (ignoring preceding white space) and has
-the format ``@``, followed by the keyword and finishing with a colon.
+The tag must be at the beginning of a line (ignoring preceding white space) and must
+have the format ``@``, followed by the keyword, and finishing with a colon.
 
 
 Tags
 Tags
 ~~~~
 ~~~~
@@ -69,10 +69,10 @@ The description can have more than one line but every line must start
 with the double hash symbol ``##`` to be considered as part of the documentation.
 with the double hash symbol ``##`` to be considered as part of the documentation.
 The script documentation will update in the editor help window every time the
 The script documentation will update in the editor help window every time the
 script is updated. If any member variable or function name starts with an
 script is updated. If any member variable or function name starts with an
-underscore it will be treated as private. It will not appear in the documentation and
+underscore, it will be treated as private. It will not appear in the documentation and
 will be ignored in the help window.
 will be ignored in the help window.
 
 
-Members that are applicable for the documentation:
+Members that are applicable for documentation:
 
 
 - Inner class
 - Inner class
 - Constant
 - Constant
@@ -137,7 +137,7 @@ Examples
 
 
     ## Documenting an inner class.
     ## Documenting an inner class.
     ##
     ##
-    ## The same rules apply apply here. The documentation must
+    ## The same rules apply here. The documentation must
     ## immediately precede the class definition.
     ## immediately precede the class definition.
     ##
     ##
     ## @tutorial: https://the/tutorial/url.com
     ## @tutorial: https://the/tutorial/url.com