-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the note to the top in GMT version migration (#378)
Co-authored-by: Dongdong Tian <[email protected]>
- Loading branch information
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
版本迁移 | ||
######## | ||
|
||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 2 | ||
.. note:: | ||
|
||
4to5 | ||
5to6 | ||
classic2modern | ||
本文仅限于 GMT 老用户以及需要将老脚本转换为新语法的新用户阅读。 | ||
纯粹的 GMT 新用户请跳过这一章以节省时间并避免可能出现的混淆。 | ||
|
||
GMT在大版本升级时,语法及用法上会发生一些变化,但由于GMT尽可能兼容旧版本的语法。 | ||
因而用户只需要少量修改即可在新版本GMT中运行旧版本GMT下写的脚本。 | ||
GMT 在大版本升级时,语法及用法上会发生一些变化,如 GMT 5 升级为 GMT 6。 | ||
但由于 GMT 会尽可能兼容旧版本的语法,用户往往只需要对旧版本 GMT 语法编写的脚本做少量修改, | ||
即可在新版本 GMT 中运行。 | ||
|
||
这一章将介绍如何实现: | ||
|
||
#. 将GMT4脚本迁移到GMT5 | ||
#. 将GMT5脚本迁移到GMT6 | ||
#. 将经典模式语法迁移到GMT6现代模式语法 | ||
|
||
.. note:: | ||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 2 | ||
|
||
本文仅限于GMT老用户以及需要将老脚本转换为新语法的新用户阅读。 | ||
纯粹的GMT新用户请跳过这一章以节省时间并避免可能出现的混淆。 | ||
4to5 | ||
5to6 | ||
classic2modern |