Browse Source

Small fixes for recent formating errors (#3247)

Michael Alexsander 5 years ago
parent
commit
3f9c09fbf7

+ 2 - 3
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -1482,14 +1482,13 @@ Will print::
     world
     world
     cheers!
     cheers!
 
 
-Remember to save the new function state, when using multiple ``yield``s:
+Remember to save the new function state, when using multiple ``yield``\s::
 
 
-::
     func co_func():
     func co_func():
         for i in range(1, 5):
         for i in range(1, 5):
             print("Turn %d" % i)
             print("Turn %d" % i)
             yield();
             yield();
-    
+
     func _ready():
     func _ready():
         var co = co_func();
         var co = co_func();
         while co is GDScriptFunction && co.is_valid():
         while co is GDScriptFunction && co.is_valid():

+ 2 - 2
tutorials/plugins/android/android_plugin.rst

@@ -53,13 +53,13 @@ Building a Android plugin
 **Prerequisite:** `Android Studio <https://developer.android.com/studio>`_ is strongly recommended as the IDE to use to create Android plugins. 
 **Prerequisite:** `Android Studio <https://developer.android.com/studio>`_ is strongly recommended as the IDE to use to create Android plugins. 
 The instructions below assumes that you're using Android Studio.
 The instructions below assumes that you're using Android Studio.
 
 
-1.  Follow `these instructions <https://developer.android.com/studio/projects/android-library>`_ to create an Android library module for your plugin.
+1.  Follow `these instructions <https://developer.android.com/studio/projects/android-library>`__ to create an Android library module for your plugin.
 
 
 2.  Add the Godot engine library as a dependency to your plugin module:
 2.  Add the Godot engine library as a dependency to your plugin module:
 
 
     -  Download the Godot engine library (godot-lib.x.y.aar)
     -  Download the Godot engine library (godot-lib.x.y.aar)
 
 
-    -   Follow `these instructions <https://developer.android.com/studio/projects/android-library#AddDependency>`_ to add 
+    -   Follow `these instructions <https://developer.android.com/studio/projects/android-library#AddDependency>`__ to add
         the Godot engine library as a dependency for your plugin.
         the Godot engine library as a dependency for your plugin.
 
 
     -  In the plugin module's ``build.gradle`` file, replace ``implementation`` with ``compileOnly`` for the dependency line for the Godot engine library.
     -  In the plugin module's ``build.gradle`` file, replace ``implementation`` with ``compileOnly`` for the dependency line for the Godot engine library.