From 107c835f77e5b62b2d30ffaf7770513e6388fad9 Mon Sep 17 00:00:00 2001 From: shenmengjing Date: Thu, 2 Jan 2025 17:56:17 +0800 Subject: [PATCH] docs: Provide CN translation for prerequisites.rst --- docs_espressif/en/prerequisites.rst | 23 +++++++++++++---------- docs_espressif/zh_CN/prerequisites.rst | 23 ++++++++++++++++++++++- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/docs_espressif/en/prerequisites.rst b/docs_espressif/en/prerequisites.rst index 2a0f63736..094fbb218 100644 --- a/docs_espressif/en/prerequisites.rst +++ b/docs_espressif/en/prerequisites.rst @@ -1,19 +1,22 @@ Prerequisites -=============================== -The minimum requirements for running the ESP-IDF Extension with the VSCode are below. +============= -- `Visual Studio Code `_. +:link_to_translation:`zh_CN:[中文]` + +Below are the minimum requirements for running the ESP-IDF extension in VS Code. + +- `Visual Studio Code `_ Windows -------------------------------- +------- -No additional prerequisites required, the installation step will take care of the rest. +No additional prerequisites are required. The installation step will handle the rest. MacOS/Linux -------------------------------- +----------- -- `Python 3.12 `_ and above. -- `Git `_. -- Install the following `ESP-IDF Prerequisites `_. +- `Python 3.12 `_ and above +- `Git `_ +- `ESP-IDF Prerequisites `_ -Next proceed to :ref:`Install ESP-IDF and Tools `. \ No newline at end of file +Next, proceed to :ref:`Install ESP-IDF and Tools `. diff --git a/docs_espressif/zh_CN/prerequisites.rst b/docs_espressif/zh_CN/prerequisites.rst index 615f6604e..b54ffce20 100644 --- a/docs_espressif/zh_CN/prerequisites.rst +++ b/docs_espressif/zh_CN/prerequisites.rst @@ -1 +1,22 @@ -.. include:: ../en/prerequisites.rst \ No newline at end of file +准备工作 +======== + +:link_to_translation:`zh_CN:[中文]` + +必须安装以下工具,才能在 VS Code 中使用 ESP-IDF 扩展: + +- `Visual Studio Code `_。 + +Windows +------- + +无需额外的准备,安装步骤将准备好一切所需工具。 + +MacOS/Linux +----------- + +- `Python 3.12 `_ 及以上版本 +- `Git `_ +- `ESP-IDF 安装准备 `_ + +接下来,请参考 :ref:`安装 ESP-IDF 和工具 `。