Skip to content

Commit

Permalink
fixed the issue of tween-interface.md will cause compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKylinGithub committed Jul 11, 2024
1 parent c7c6a5b commit e6daa43
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion versions/3.6/en/scripting/readonly.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Since `Readonly` is a read-only property, it is not recommended to write to it.

For example, the position of a node in the world coordinate system is `Readonly` for.

```typscript
```ts
/**
* @en Position in world coordinate system
* @zh 世界坐标系下的坐标
Expand Down
2 changes: 1 addition & 1 deletion versions/3.6/zh/scripting/readonly.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

例如,节点的世界坐标系内的位置,是 `Readonly` 的:

```typscript
```ts
/**
* @en Position in world coordinate system
* @zh 世界坐标系下的坐标
Expand Down
2 changes: 1 addition & 1 deletion versions/3.7/en/scripting/readonly.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Since `Readonly` is a read-only property, it is not recommended to write to it.

For example, the position of a node in the world coordinate system is `Readonly` for.

```typscript
```ts
/**
* @en Position in world coordinate system
* @zh 世界坐标系下的坐标
Expand Down
6 changes: 5 additions & 1 deletion versions/3.7/en/summary.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[
{
"text": "Introduction",
"text": "User Manual 3.7",
"collapsed": false,
"items": [
{
"text": "Cocos Creator 3.7",
"link": "index.md"
},
{
"text": "About Cocos Creator",
"link": "getting-started/introduction/index.md"
Expand Down
2 changes: 1 addition & 1 deletion versions/3.7/zh/scripting/readonly.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

例如,节点的世界坐标系内的位置,是 `Readonly` 的:

```typscript
```ts
/**
* @en Position in world coordinate system
* @zh 世界坐标系下的坐标
Expand Down
6 changes: 5 additions & 1 deletion versions/3.7/zh/summary.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[
{
"text": "简介",
"text": "用户手册 3.7",
"collapsed": false,
"items": [
{
"text": "Cocos Creator 3.7",
"link": "index.md"
},
{
"text": "关于 Cocos Creator",
"link": "getting-started/introduction/index.md"
Expand Down
2 changes: 1 addition & 1 deletion versions/3.8/en/tween/tween-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Tween.stopAllByTarget(this.node);

|Interface| Description |
|:-- |:--|
| **tween<T>** | Utility function to help instantiate the `Tween` class. <br> **Note**: This function is not a member of the `Tween` class. Users may call `new Tween<T>(target:T)` to instantiate a new tween instance. |
| **tween\<T\>** | Utility function to help instantiate the `Tween` class. <br> **Note**: This function is not a member of the `Tween` class. Users may call `new Tween<T>(target:T)` to instantiate a new tween instance. |

### Example

Expand Down
9 changes: 8 additions & 1 deletion versions/3.8/zh/summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,14 @@
},
{
"text": "发布到淘宝小游戏",
"link": "editor/publish/publish-taobao-mini-game.md"
"link": "editor/publish/publish-taobao-mini-game.md",
"items": [
{
"text": "启用淘宝小游戏引擎插件",
"link": "editor/publish/taobaominigame-plugin.md"
}
],
"collapsed": true
},
{
"text": "发布到微信小游戏",
Expand Down
2 changes: 1 addition & 1 deletion versions/3.8/zh/tween/tween-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Tween.stopAllByTarget(this.node);

|接口| 功能说明
|:-- |:--|
|**tween<T>**| 这是一个工具函数,帮助实例化 `Tween` 类 <br> **注意**:该方法并非 `Tween` 类的成员,开发者也可自行调用 `new Tween<T>(target:T)` 的方式实例化缓动。
|**tween\<T\>**| 这是一个工具函数,帮助实例化 `Tween` 类 <br> **注意**:该方法并非 `Tween` 类的成员,开发者也可自行调用 `new Tween<T>(target:T)` 的方式实例化缓动。

### 示例

Expand Down

0 comments on commit e6daa43

Please sign in to comment.