diff --git a/docs/en/deployment/hadoop_java_sdk.md b/docs/en/deployment/hadoop_java_sdk.md index a29eb586c14a..4f8c6ec61a52 100644 --- a/docs/en/deployment/hadoop_java_sdk.md +++ b/docs/en/deployment/hadoop_java_sdk.md @@ -420,9 +420,6 @@ CREATE TABLE IF NOT EXISTS person 2. Use the following sample code to verify: - - - ```java package demo; @@ -447,9 +444,6 @@ CREATE TABLE IF NOT EXISTS person } ``` - - - ## Monitoring metrics collection Please see the ["Monitoring"](../administration/monitoring.md) documentation to learn how to collect and display JuiceFS monitoring metrics. diff --git a/docs/en/reference/command_reference.md b/docs/en/reference/command_reference.md index a5a51b4e75a3..b43f67cd14a0 100644 --- a/docs/en/reference/command_reference.md +++ b/docs/en/reference/command_reference.md @@ -114,20 +114,11 @@ echo "source path/to/zsh_autocomplete" >> ~/.zshrc Alternatively, if you are using bash on a Linux system, you may just copy the script to `/etc/bash_completion.d` and rename it to `juicefs`: - - - ```shell sudo cp hack/autocomplete/bash_autocomplete /etc/bash_completion.d/juicefs -``` - -```shell source /etc/bash_completion.d/juicefs ``` - - - ## Commands ### `juicefs format` {#format} diff --git a/docs/zh_cn/deployment/hadoop_java_sdk.md b/docs/zh_cn/deployment/hadoop_java_sdk.md index 0a88dc9504df..df82b4f3a584 100644 --- a/docs/zh_cn/deployment/hadoop_java_sdk.md +++ b/docs/zh_cn/deployment/hadoop_java_sdk.md @@ -531,9 +531,6 @@ CREATE TABLE IF NOT EXISTS person 2. 使用以下示例代码验证: - - - ```java package demo; @@ -558,9 +555,6 @@ CREATE TABLE IF NOT EXISTS person } ``` - - - ## 监控指标收集 请查看[「监控」](../administration/monitoring.md)文档了解如何收集及展示 JuiceFS 监控指标 diff --git a/docs/zh_cn/reference/command_reference.md b/docs/zh_cn/reference/command_reference.md index 9c200b3c8903..431245d7f3f1 100644 --- a/docs/zh_cn/reference/command_reference.md +++ b/docs/zh_cn/reference/command_reference.md @@ -114,20 +114,11 @@ echo "source path/to/zsh_autocomplete" >> ~/.zshrc 另外,如果你是在 Linux 系统上使用 bash,也可以直接将脚本拷贝到 `/etc/bash_completion.d` 目录并将其重命名为 `juicefs`: - - - ```shell sudo cp hack/autocomplete/bash_autocomplete /etc/bash_completion.d/juicefs -``` - -```shell source /etc/bash_completion.d/juicefs ``` - - - ## 命令列表 ### `juicefs format` {#format}