Browse Source

Enchance descriptions of @GlobalScope/@GDScript

Yuri Roubinsky 3 years ago
parent
commit
ce48604eb7
2 changed files with 6 additions and 4 deletions
  1. 4 2
      doc/classes/@GlobalScope.xml
  2. 2 2
      modules/gdscript/doc_classes/@GDScript.xml

+ 4 - 2
doc/classes/@GlobalScope.xml

@@ -1,13 +1,15 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <class name="@GlobalScope" version="4.0">
 	<brief_description>
-		Global scope constants and variables.
+		Global scope constants and functions.
 	</brief_description>
 	<description>
-		Global scope constants and variables. This is all that resides in the globals, constants regarding error codes, keycodes, property hints, etc.
+		A list of global scope enumerated constants and built-in functions. This is all that resides in the globals, constants regarding error codes, keycodes, property hints, etc.
 		Singletons are also documented here, since they can be accessed from anywhere.
+		For the entries related to GDScript which can be accessed in any script see [@GDScript].
 	</description>
 	<tutorials>
+		<link title="Random number generation">$DOCS_URL/tutorials/math/random_number_generation.html</link>
 	</tutorials>
 	<methods>
 		<method name="abs">

+ 2 - 2
modules/gdscript/doc_classes/@GDScript.xml

@@ -4,10 +4,10 @@
 		Built-in GDScript functions.
 	</brief_description>
 	<description>
-		List of core built-in GDScript functions. Math functions and other utilities. Everything else is provided by objects. (Keywords: builtin, built in, global functions.)
+		A list of GDScript-specific utility functions accessed in any script.
+		For the list of the global functions and constants see [@GlobalScope].
 	</description>
 	<tutorials>
-		<link title="Random number generation">$DOCS_URL/tutorials/math/random_number_generation.html</link>
 	</tutorials>
 	<methods>
 		<method name="Color8">