فهرست منبع

Added missing references for some functions

I've added some missing references for some functions to better interact with the docs.

(cherry picked from commit 44b38d79e13dd1364ca3b354b7e89115bc9d94dc)
Xavier Gómez Gosálbez 5 سال پیش
والد
کامیت
5747b8b89e
1فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 6 3
      tutorials/io/saving_games.rst

+ 6 - 3
tutorials/io/saving_games.rst

@@ -125,7 +125,8 @@ Saving and reading data
 
 
 As covered in the :ref:`doc_filesystem` tutorial, we'll need to open a file 
 As covered in the :ref:`doc_filesystem` tutorial, we'll need to open a file 
 so we can write to it or read from it. Now that we have a way to
 so we can write to it or read from it. Now that we have a way to
-call our groups and get their relevant data, let's use to_json() to
+call our groups and get their relevant data, let's use :ref:`to_json()
+<class_@GDScript_method_to_json>` to
 convert it into an easily stored string and store them in a file. Doing
 convert it into an easily stored string and store them in a file. Doing
 it this way ensures that each line is its own object, so we have an easy
 it this way ensures that each line is its own object, so we have an easy
 way to pull the data out of the file as well.
 way to pull the data out of the file as well.
@@ -303,6 +304,8 @@ customized based on the needs of the individual project.
 Additionally, our implementation assumes no Persist objects are children of other
 Additionally, our implementation assumes no Persist objects are children of other
 Persist objects. Otherwise, invalid paths would be created. To 
 Persist objects. Otherwise, invalid paths would be created. To 
 accommodate nested Persist objects, consider saving objects in stages. 
 accommodate nested Persist objects, consider saving objects in stages. 
-Load parent objects first so they are available for the add_child() 
+Load parent objects first so they are available for the :ref:`add_child()
+<class_node_method_add_child>` 
 call when child objects are loaded. You will also need a way to link 
 call when child objects are loaded. You will also need a way to link 
-children to parents as the NodePath will likely be invalid.
+children to parents as the :ref:`NodePath
+<class_nodepath>` will likely be invalid.