Skip to content

Commit 969d44a

Browse files
committed
docs(hugo): v0.13.1
1 parent f68ac3c commit 969d44a

6 files changed

Lines changed: 33 additions & 29 deletions

File tree

docs/content/en/getting-started/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ weight: 10
1616
#### Install latest version
1717

1818
{{< command >}}
19-
iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1 | iex
19+
iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1 | iex
2020
{{< /command >}}
2121

2222
#### Install with `ghproxy.com`
2323

2424
{{< command >}}
25-
$Script=iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
25+
$Script=iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
2626
$Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -ArgumentList "", "$True"
2727
{{< /command >}}
2828

2929
#### Install specific version
3030

3131
{{< command >}}
3232
$Env:TDLVersion = "VERSION"
33-
$Script=iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
33+
$Script=iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
3434
$Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -ArgumentList "$Env:TDLVersion"
3535
{{< /command >}}
3636

@@ -42,19 +42,19 @@ $Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -Argum
4242
#### Install latest version
4343

4444
{{< command >}}
45-
curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash
45+
curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash
4646
{{< /command >}}
4747

4848
#### Install with `ghproxy.com`
4949

5050
{{< command >}}
51-
curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --proxy
51+
curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --proxy
5252
{{< /command >}}
5353

5454
#### Install specific version
5555

5656
{{< command >}}
57-
curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --version VERSION
57+
curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --version VERSION
5858
{{< /command >}}
5959

6060
{{< /tab >}}

docs/content/en/guide/global-config.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ tdl -n iyear
1919

2020
## `--proxy`
2121

22-
Set the proxy. Only support `socks5` now. Default: `""`.
22+
Set the proxy. Default: `""`.
2323

2424
Format: `protocol://username:password@host:port`
2525

2626
{{< command >}}
2727
tdl --proxy socks5://localhost:1080
28+
tdl --proxy http://localhost:8080
29+
tdl --proxy https://localhost:8081
2830
{{< /command >}}
2931

3032
## `--ntp`
@@ -57,10 +59,10 @@ tdl --debug
5759

5860
## `--pool`
5961

60-
Set the DC pool size of Telegram client. Default: `3`.
62+
Set the DC pool size of Telegram client. Default: `8`.
6163

62-
{{< hint warning >}}
63-
DO NOT set it too large, or tdl may be forced to quit by Telegram.
64+
{{< hint info >}}
65+
Set higher timeout or 0(INF) if you want faster speed.
6466
{{< /hint >}}
6567

6668
{{< command >}}

docs/content/en/guide/migration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Backup or recover your data
99

1010
## Backup
1111

12-
Backup your data to a zip file. Default: `tdl-backup-<time>.zip`.
12+
Backup your data to a file. Default: `<date>.backup.tdl`.
1313

1414
{{< command >}}
1515
tdl backup
@@ -18,13 +18,13 @@ tdl backup
1818
Or specify the output file:
1919

2020
{{< command >}}
21-
tdl backup -d /path/to/backup.zip
21+
tdl backup -d /path/to/custom.tdl
2222
{{< /command >}}
2323

2424
## Recover
2525

26-
Recover your data from a zip file.
26+
Recover your data from a tdl backup file.
2727

2828
{{< command >}}
29-
tdl recover -f /path/to/backup.zip
29+
tdl recover -f /path/to/custom.backup.tdl
3030
{{< /command >}}

docs/content/zh/getting-started/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ weight: 10
1515
#### 安装最新版本
1616

1717
{{< command >}}
18-
iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1 | iex
18+
iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1 | iex
1919
{{< /command >}}
2020

2121
#### 通过 `ghproxy.com` 镜像安装
2222

2323
{{< command >}}
24-
$Script=iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
24+
$Script=iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
2525
$Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -ArgumentList "", "$True"
2626
{{< /command >}}
2727

2828
#### 安装特定版本
2929

3030
{{< command >}}
3131
$Env:TDLVersion = "VERSION"
32-
$Script=iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
32+
$Script=iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1;
3333
$Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -ArgumentList "$Env:TDLVersion"
3434
{{< /command >}}
3535

@@ -41,19 +41,19 @@ $Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -Argum
4141
#### 安装最新版本
4242

4343
{{< command >}}
44-
curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash
44+
curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash
4545
{{< /command >}}
4646

4747
#### 通过 `ghproxy.com` 镜像安装
4848

4949
{{< command >}}
50-
curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --proxy
50+
curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --proxy
5151
{{< /command >}}
5252

5353
#### 安装特定版本
5454

5555
{{< command >}}
56-
curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --version VERSION
56+
curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --version VERSION
5757
{{< /command >}}
5858

5959
{{< /tab >}}

docs/content/zh/guide/global-config.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ tdl -n iyear
1818

1919
## `--proxy`
2020

21-
设置代理。目前仅支持 `socks5`默认值:`""`
21+
设置代理。默认值:`""`
2222

2323
格式:`protocol://username:password@host:port`
2424

2525
{{< command >}}
2626
tdl --proxy socks5://localhost:1080
27+
tdl --proxy http://localhost:8080
28+
tdl --proxy https://localhost:8081
2729
{{< /command >}}
2830

2931
## `--ntp`
@@ -39,7 +41,7 @@ tdl --ntp pool.ntp.org
3941
设置 Telegram 连接的重连超时。默认值:`2m`
4042

4143
{{< hint info >}}
42-
如果您的网络不稳定,请将超时设置为较长时间或0(无限)。
44+
如果您的网络不稳定,请将超时设置为更长时间或0(无限)。
4345
{{< /hint >}}
4446

4547
{{< command >}}
@@ -56,10 +58,10 @@ tdl --debug
5658

5759
## `--pool`
5860

59-
设置 Telegram 客户端的连接池大小。默认值:`3`
61+
设置 Telegram 客户端的连接池大小。默认值:`8`
6062

61-
{{< hint warning >}}
62-
不要将其设置得过大,否则 Telegram 可能会强制断开连接
63+
{{< hint info >}}
64+
如果你想要更快的速度,请将连接池设置的更大或者0(无限)
6365
{{< /hint >}}
6466

6567
{{< command >}}

docs/content/zh/guide/migration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ weight: 50
99

1010
## 备份
1111

12-
将您的数据备份到 zip 文件中。默认值:`tdl-backup-<time>.zip`
12+
将您的数据备份到文件中。默认值:`<date>.backup.tdl`
1313

1414
{{< command >}}
1515
tdl backup
@@ -18,13 +18,13 @@ tdl backup
1818
或者指定输出文件:
1919

2020
{{< command >}}
21-
tdl backup -d /path/to/backup.zip
21+
tdl backup -d /path/to/custom.tdl
2222
{{< /command >}}
2323

2424
## 恢复
2525

26-
从 zip 文件中恢复您的数据
26+
从备份文件中恢复您的数据
2727

2828
{{< command >}}
29-
tdl recover -f /path/to/backup.zip
29+
tdl recover -f /path/to/custom.backup.tdl
3030
{{< /command >}}

0 commit comments

Comments
 (0)