From 7753b8ba0f41cdd9c32dbbb4b43c64d968eb0464 Mon Sep 17 00:00:00 2001
From: Poommetee Ketson
Date: Fri, 29 Dec 2017 19:11:27 +0700
Subject: Minor docs fix
---
doc/classes/@GDScript.xml | 5 +++--
doc/classes/Physics2DServer.xml | 6 +++---
doc/classes/StreamPeer.xml | 2 +-
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml
index bee2cdf38..cd05c8334 100644
--- a/doc/classes/@GDScript.xml
+++ b/doc/classes/@GDScript.xml
@@ -535,7 +535,7 @@
- Loads a resource from the filesystem located at 'path'. Note: resource paths can be obtained by right clicking on a resource in the Assets Panel and choosing "Copy Path".
+ Loads a resource from the filesystem located at [code]path[/code]. Note: resource paths can be obtained by right clicking on a resource in the Assets Panel and choosing "Copy Path".
[codeblock]
# load a scene called main located in the root of the project directory
var main = load("res://main.tscn")
@@ -866,9 +866,10 @@
- Returns sign of [code]s[/code] -1 or 1.
+ Returns the sign of [code]s[/code]: -1 or 1. Returns 0 if [code]s[/code] is 0.
[codeblock]
sign(-6) # returns -1
+ sign(0) # returns 0
sign(6) # returns 1
[/codeblock]
diff --git a/doc/classes/Physics2DServer.xml b/doc/classes/Physics2DServer.xml
index 67f5f84a4..9a4bfe141 100644
--- a/doc/classes/Physics2DServer.xml
+++ b/doc/classes/Physics2DServer.xml
@@ -216,7 +216,7 @@
- Disables a given shape in this area if [code]disable is true[/code]
+ Disables a given shape in an area.
@@ -638,7 +638,7 @@
- Enables one way collision on body if [code]enable is true[/code].
+ Enables one way collision on body if [code]enable[/code] is [code]true[/code].
@@ -651,7 +651,7 @@
- Disables shape in body if [code]disable is true[/code].
+ Disables shape in body if [code]disable[/code] is [code]true[/code].
diff --git a/doc/classes/StreamPeer.xml b/doc/classes/StreamPeer.xml
index d757b6f2d..8ecd9e581 100644
--- a/doc/classes/StreamPeer.xml
+++ b/doc/classes/StreamPeer.xml
@@ -105,7 +105,7 @@
- Get an unsigned 16 bit value from the stream.
+ Get an unsigned 64 bit value from the stream.
--
cgit v1.2.3-70-g09d2