Browse Source

Fix build warnings

Poommetee Ketson 8 years ago
parent
commit
b2d5d0b20a

+ 1 - 1
community/contributing/updating_the_class_reference.rst

@@ -59,7 +59,7 @@ Create a new branch to make your changes. It makes it a lot easier to sync your
 The new branch is the same as your master branch, until you start to write API docs. In the ``doc/`` folder, you'll find the class reference.
 The new branch is the same as your master branch, until you start to write API docs. In the ``doc/`` folder, you'll find the class reference.
 
 
 How to keep your local clone up-to-date
 How to keep your local clone up-to-date
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
 Other writers contribute to Godot's documentation. Your local repository will fall behind it, and you'll have to synchronize it. Especially if other contributors update the class reference while you work on it.
 Other writers contribute to Godot's documentation. Your local repository will fall behind it, and you'll have to synchronize it. Especially if other contributors update the class reference while you work on it.
 
 

+ 11 - 6
learning/scripting/visual_script/visual_script_basics.rst

@@ -115,7 +115,7 @@ provided:
 .. image:: /img/visual_script9.png
 .. image:: /img/visual_script9.png
 
 
 Connecting a Signal to a Function
 Connecting a Signal to a Function
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
 Nodes in a tree emit signals when something happens. Godot uses signals for all sorts of things.
 Nodes in a tree emit signals when something happens. Godot uses signals for all sorts of things.
 A typical example would be a button that emits a "pressed" signal when actually pressed.
 A typical example would be a button that emits a "pressed" signal when actually pressed.
@@ -205,7 +205,7 @@ such as a boolean, an integer, a string, a Vector3, an array, any Object or Scen
 A *Data Port* on the right side of a node is considered an output, while, 
 A *Data Port* on the right side of a node is considered an output, while, 
 a port on the left side is an input. Connecting them allows to transfer information from a node to the next. 
 a port on the left side is an input. Connecting them allows to transfer information from a node to the next. 
 
 
-Not all *Data Port types are compatible and will allow connections, though. 
+Not all *Data Port* types are compatible and will allow connections, though.
 Pay special attention to colors and icons, as each type has a different representation:
 Pay special attention to colors and icons, as each type has a different representation:
 
 
 .. image:: /img/visual_script18.png
 .. image:: /img/visual_script18.png
@@ -614,16 +614,21 @@ visual scripts that are math or logic heavy. Just type any expression on it and
 Expression nodes can:
 Expression nodes can:
 
 
 - Perform math and logic expressions based on custom inputs (eg: "a*5+b", where a and b are custom inputs):
 - Perform math and logic expressions based on custom inputs (eg: "a*5+b", where a and b are custom inputs):
+
 .. image:: /img/visual_script47.png
 .. image:: /img/visual_script47.png
+
 - Access local variables or properties:
 - Access local variables or properties:
+
 .. image:: /img/visual_script48.png
 .. image:: /img/visual_script48.png
+
 - Use most of the existing built-in functions and available to GDScript, such as sin(),cos(),print(), as well as constructors, such as Vector3(x,y,z),Rect2(..), etc.:
 - Use most of the existing built-in functions and available to GDScript, such as sin(),cos(),print(), as well as constructors, such as Vector3(x,y,z),Rect2(..), etc.:
+
 .. image:: /img/visual_script49.png
 .. image:: /img/visual_script49.png
-- Call API functions:
-.. image:: /img/visual_script50.png
-- Use sequenced mode, which makes more sense in case of respecting the processing order:
-.. image:: /img/visual_script51.png
 
 
+- Call API functions:
 
 
+.. image:: /img/visual_script50.png
 
 
+- Use sequenced mode, which makes more sense in case of respecting the processing order:
 
 
+.. image:: /img/visual_script51.png