Skip to content

Commit 06008e0

Browse files
committed
docs: fix the link errors raised by k8s
Signed-off-by: Daniel Hu <[email protected]>
1 parent 96de3a6 commit 06008e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/commands/autocomplete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Once the installation is complete, you need to integrate the terminal you are us
3838

3939
#### On Linux
4040

41-
**Note: Main reference [bash auto-completion on Linux](https://kubernetes.io/docs/tasks/tools/included/optional-kubectl-configs-bash-linux/)**
41+
**Note: Main reference [Install and Set Up kubectl on Linux](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion)**
4242

4343
The completion script depends on `bash-completion`, So you have to install it first.
4444

@@ -70,7 +70,7 @@ After reloading your shell, dtm autocompletion should be working!
7070

7171
```{admonition} Note
7272
:class: note
73-
Main reference [bash auto-completion on macOS](https://kubernetes.io/docs/tasks/tools/included/optional-kubectl-configs-bash-mac/)
73+
Main reference [Install and Set Up kubectl on macOS](https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-shell-autocompletion)
7474
```
7575

7676
The completion script depends on `bash-completion`, So you have to install it first.

docs/commands/autocomplete.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#### Linux
4040

41-
**注:主要参考了 [Linux 上的 bash 自动补全](https://kubernetes.io/docs/tasks/tools/included/optional-kubectl-configs-bash-linux/)**
41+
**注:主要参考了 [Install and Set Up kubectl on Linux](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion)**
4242

4343
自动补全脚本依赖于 `bash-completion`, 需要提前安装:
4444

@@ -71,7 +71,7 @@ source ~/.bashrc
7171

7272
```{admonition} Note
7373
:class: note
74-
主要参考了 [MacOS 上的 bash 自动补全](https://kubernetes.io/docs/tasks/tools/included/optional-kubectl-configs-bash-mac/)
74+
主要参考了 [Install and Set Up kubectl on macOS](https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-shell-autocompletion)
7575
```
7676

7777
自动补全脚本依赖于 `bash-completion`, 需要提前安装:

0 commit comments

Comments
 (0)