From 4405ccb1068f169b99f82deb0cc46623854282f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Wed, 26 Jun 2024 13:48:16 +0200 Subject: [PATCH] docs: Some small fixes * Typo in export-tscn manual page * \a doesn't work for referring to arguments in JS docs --- docs/manual/export-tscn.rst | 2 +- docs/scripting-doc/index.d.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/manual/export-tscn.rst b/docs/manual/export-tscn.rst index d926e37d9f..40453b4b86 100644 --- a/docs/manual/export-tscn.rst +++ b/docs/manual/export-tscn.rst @@ -102,7 +102,7 @@ Objects support the following property: * string ``resPath`` (required) -The ``resPath`` property takes the form of 'res://.tscn' and must +The ``resPath`` property takes the form of 'res://.tscn' and must be set to the path of the Godot object you wish to replace the object with. Objects without this property set will not be exported. diff --git a/docs/scripting-doc/index.d.ts b/docs/scripting-doc/index.d.ts index c17ed32cf1..73cc6f384b 100644 --- a/docs/scripting-doc/index.d.ts +++ b/docs/scripting-doc/index.d.ts @@ -1051,10 +1051,10 @@ declare class TiledObject { setProperty(name: string, value: TiledObjectPropertyValue): void; /** - * Sets the value of an object's property identified the given \a path - * to \a value. + * Sets the value of an object's property identified by the given path + * to the given value. * - * The \a path is a list of property names, where each name identifies + * The path is a list of property names, where each name identifies * a member of the previous member's value. The last name in the list * identifies the property to set. *