From f675334ebb95868cb4a994fabdc450a9a4fb6f66 Mon Sep 17 00:00:00 2001 From: krzychb Date: Sun, 27 Jan 2019 19:01:34 +0100 Subject: [PATCH] Included missing links between English and Chinese documentation, where translation into Chinese is available --- docs/en/api-guides/blufi.rst | 1 + docs/en/api-guides/build-system.rst | 1 + docs/en/api-guides/console.rst | 1 + docs/en/api-guides/error-handling.rst | 1 + docs/en/api-guides/general-notes.rst | 1 + docs/en/api-guides/index.rst | 1 + docs/en/api-guides/partition-tables.rst | 1 + docs/en/api-guides/unit-tests-cmake.rst | 1 + docs/en/api-guides/unit-tests.rst | 1 + docs/en/contribute/creating-examples.rst | 1 + docs/en/get-started/linux-setup-scratch.rst | 1 + docs/en/get-started/macos-setup-scratch.rst | 1 + docs/en/hw-reference/index.rst | 1 + docs/en/resources.rst | 1 + docs/zh_CN/api-guides/blufi.rst | 1 + docs/zh_CN/api-guides/build-system.rst | 1 + docs/zh_CN/api-guides/console.rst | 1 + docs/zh_CN/api-guides/error-handling.rst | 1 + docs/zh_CN/api-guides/general-notes.rst | 1 + docs/zh_CN/api-guides/index.rst | 1 + docs/zh_CN/api-guides/partition-tables.rst | 1 + docs/zh_CN/api-guides/unit-tests-cmake.rst | 1 + docs/zh_CN/api-guides/unit-tests.rst | 1 + docs/zh_CN/contribute/creating-examples.rst | 1 + docs/zh_CN/get-started/linux-setup-scratch.rst | 1 + docs/zh_CN/get-started/macos-setup-scratch.rst | 1 + docs/zh_CN/hw-reference/index.rst | 1 + docs/zh_CN/resources.rst | 1 + 28 files changed, 28 insertions(+) diff --git a/docs/en/api-guides/blufi.rst b/docs/en/api-guides/blufi.rst index 96a196ba6..61b8a03df 100644 --- a/docs/en/api-guides/blufi.rst +++ b/docs/en/api-guides/blufi.rst @@ -1,5 +1,6 @@ BluFi ^^^^^ +:link_to_translation:`zh_CN:[中文]` Overview -------- diff --git a/docs/en/api-guides/build-system.rst b/docs/en/api-guides/build-system.rst index a489d5e45..8f6a98be0 100644 --- a/docs/en/api-guides/build-system.rst +++ b/docs/en/api-guides/build-system.rst @@ -1,5 +1,6 @@ Build System ************ +:link_to_translation:`zh_CN:[中文]` This document explains the Espressif IoT Development Framework build system and the concept of "components" diff --git a/docs/en/api-guides/console.rst b/docs/en/api-guides/console.rst index 1b9d56fe3..5119d3ae2 100644 --- a/docs/en/api-guides/console.rst +++ b/docs/en/api-guides/console.rst @@ -1,5 +1,6 @@ Console ======= +:link_to_translation:`zh_CN:[中文]` ESP-IDF provides ``console`` component, which includes building blocks needed to develop an interactive console over serial port. This component includes following facilities: diff --git a/docs/en/api-guides/error-handling.rst b/docs/en/api-guides/error-handling.rst index b7d49e765..ed65d5fc7 100644 --- a/docs/en/api-guides/error-handling.rst +++ b/docs/en/api-guides/error-handling.rst @@ -2,6 +2,7 @@ Error Handling ============== +:link_to_translation:`zh_CN:[中文]` Overview -------- diff --git a/docs/en/api-guides/general-notes.rst b/docs/en/api-guides/general-notes.rst index 71ae1eff4..b3860332f 100644 --- a/docs/en/api-guides/general-notes.rst +++ b/docs/en/api-guides/general-notes.rst @@ -1,5 +1,6 @@ General Notes About ESP-IDF Programming ======================================= +:link_to_translation:`zh_CN:[中文]` Application startup flow ------------------------ diff --git a/docs/en/api-guides/index.rst b/docs/en/api-guides/index.rst index 7302fbee4..17be4f178 100644 --- a/docs/en/api-guides/index.rst +++ b/docs/en/api-guides/index.rst @@ -1,5 +1,6 @@ API Guides ********** +:link_to_translation:`zh_CN:[中文]` .. toctree:: :maxdepth: 1 diff --git a/docs/en/api-guides/partition-tables.rst b/docs/en/api-guides/partition-tables.rst index 0288fb8c4..502c7118c 100644 --- a/docs/en/api-guides/partition-tables.rst +++ b/docs/en/api-guides/partition-tables.rst @@ -1,5 +1,6 @@ Partition Tables ================ +:link_to_translation:`zh_CN:[中文]` Overview -------- diff --git a/docs/en/api-guides/unit-tests-cmake.rst b/docs/en/api-guides/unit-tests-cmake.rst index 05a5bf343..666896342 100644 --- a/docs/en/api-guides/unit-tests-cmake.rst +++ b/docs/en/api-guides/unit-tests-cmake.rst @@ -1,5 +1,6 @@ Unit Testing in ESP32 (CMake) ============================= +:link_to_translation:`zh_CN:[中文]` .. include:: ../cmake-warning.rst diff --git a/docs/en/api-guides/unit-tests.rst b/docs/en/api-guides/unit-tests.rst index 577bdd588..43346e4b4 100644 --- a/docs/en/api-guides/unit-tests.rst +++ b/docs/en/api-guides/unit-tests.rst @@ -1,5 +1,6 @@ Unit Testing in ESP32 ===================== +:link_to_translation:`zh_CN:[中文]` ESP-IDF comes with a unit test app based on Unity - unit test framework. Unit tests are integrated in the ESP-IDF repository and are placed in ``test`` subdirectory of each component respectively. diff --git a/docs/en/contribute/creating-examples.rst b/docs/en/contribute/creating-examples.rst index 0904d3e43..4750fb911 100644 --- a/docs/en/contribute/creating-examples.rst +++ b/docs/en/contribute/creating-examples.rst @@ -1,5 +1,6 @@ Creating Examples ================= +:link_to_translation:`zh_CN:[中文]` Each ESP-IDF example is a complete project that someone else can copy and adapt the code to solve their own problem. Examples should demonstrate ESP-IDF functionality, while keeping this purpose in mind. diff --git a/docs/en/get-started/linux-setup-scratch.rst b/docs/en/get-started/linux-setup-scratch.rst index cf6efa373..5462ca025 100644 --- a/docs/en/get-started/linux-setup-scratch.rst +++ b/docs/en/get-started/linux-setup-scratch.rst @@ -1,6 +1,7 @@ ********************************** Setup Linux Toolchain from Scratch ********************************** +:link_to_translation:`zh_CN:[中文]` .. note:: diff --git a/docs/en/get-started/macos-setup-scratch.rst b/docs/en/get-started/macos-setup-scratch.rst index 0cf8130bf..a4dfe9d7f 100644 --- a/docs/en/get-started/macos-setup-scratch.rst +++ b/docs/en/get-started/macos-setup-scratch.rst @@ -1,6 +1,7 @@ *************************************** Setup Toolchain for Mac OS from Scratch *************************************** +:link_to_translation:`zh_CN:[中文]` .. note:: diff --git a/docs/en/hw-reference/index.rst b/docs/en/hw-reference/index.rst index 288ccc2a1..dafafa212 100644 --- a/docs/en/hw-reference/index.rst +++ b/docs/en/hw-reference/index.rst @@ -1,6 +1,7 @@ ************************ ESP32 Hardware Reference ************************ +:link_to_translation:`zh_CN:[中文]` .. toctree:: :maxdepth: 2 diff --git a/docs/en/resources.rst b/docs/en/resources.rst index 6707c0d49..20d6a7705 100644 --- a/docs/en/resources.rst +++ b/docs/en/resources.rst @@ -1,6 +1,7 @@ ********* Resources ********* +:link_to_translation:`zh_CN:[中文]` * The `esp32.com forum `_ is a place to ask questions and find community resources. diff --git a/docs/zh_CN/api-guides/blufi.rst b/docs/zh_CN/api-guides/blufi.rst index 043b24e57..667aca751 100644 --- a/docs/zh_CN/api-guides/blufi.rst +++ b/docs/zh_CN/api-guides/blufi.rst @@ -1,5 +1,6 @@ BluFi ^^^^^ +:link_to_translation:`en:[English]` 概览 ----- diff --git a/docs/zh_CN/api-guides/build-system.rst b/docs/zh_CN/api-guides/build-system.rst index 94b8d921e..a677f3a28 100644 --- a/docs/zh_CN/api-guides/build-system.rst +++ b/docs/zh_CN/api-guides/build-system.rst @@ -1,5 +1,6 @@ 编译系统 ======== +:link_to_translation:`en:[English]` 本文将介绍乐鑫物联网开发框架中的``编译系统``和``组件``的相关概念。 diff --git a/docs/zh_CN/api-guides/console.rst b/docs/zh_CN/api-guides/console.rst index 0af8aa948..c7a6408ac 100644 --- a/docs/zh_CN/api-guides/console.rst +++ b/docs/zh_CN/api-guides/console.rst @@ -1,5 +1,6 @@ 控制台终端 ========== +:link_to_translation:`en:[English]` ESP-IDF 提供了 ``console`` 组件,它包含了开发基于串口的交互式控制终端所需要的所有模块,主要支持以下功能: diff --git a/docs/zh_CN/api-guides/error-handling.rst b/docs/zh_CN/api-guides/error-handling.rst index eb50b458a..22e1ff895 100644 --- a/docs/zh_CN/api-guides/error-handling.rst +++ b/docs/zh_CN/api-guides/error-handling.rst @@ -2,6 +2,7 @@ 错误处理 ======== +:link_to_translation:`en:[English]` 概述 ---- diff --git a/docs/zh_CN/api-guides/general-notes.rst b/docs/zh_CN/api-guides/general-notes.rst index 8a497e3b8..320ed2a91 100644 --- a/docs/zh_CN/api-guides/general-notes.rst +++ b/docs/zh_CN/api-guides/general-notes.rst @@ -1,5 +1,6 @@ ESP-IDF 编程注意事项 ====================== +:link_to_translation:`en:[English]` 应用程序的启动流程 ------------------ diff --git a/docs/zh_CN/api-guides/index.rst b/docs/zh_CN/api-guides/index.rst index fcb76cc63..2c2eae64f 100644 --- a/docs/zh_CN/api-guides/index.rst +++ b/docs/zh_CN/api-guides/index.rst @@ -1,5 +1,6 @@ API 指南 ********** +:link_to_translation:`en:[English]` .. toctree:: :maxdepth: 1 diff --git a/docs/zh_CN/api-guides/partition-tables.rst b/docs/zh_CN/api-guides/partition-tables.rst index d06f8ece4..deff7c14c 100644 --- a/docs/zh_CN/api-guides/partition-tables.rst +++ b/docs/zh_CN/api-guides/partition-tables.rst @@ -1,5 +1,6 @@ 分区表 ====== +:link_to_translation:`en:[English]` 概述 ---- diff --git a/docs/zh_CN/api-guides/unit-tests-cmake.rst b/docs/zh_CN/api-guides/unit-tests-cmake.rst index dfd4fb6d7..c5f8898b7 100644 --- a/docs/zh_CN/api-guides/unit-tests-cmake.rst +++ b/docs/zh_CN/api-guides/unit-tests-cmake.rst @@ -1,5 +1,6 @@ ESP32 中的单元测试 (CMake) ========================== +:link_to_translation:`en:[English]` ESP-IDF 中附带了一个基于 ``Unity`` 的单元测试应用程序框架,且所有的单元测试用例分别保存在 diff --git a/docs/zh_CN/api-guides/unit-tests.rst b/docs/zh_CN/api-guides/unit-tests.rst index 7924fc6be..de8e52d3e 100644 --- a/docs/zh_CN/api-guides/unit-tests.rst +++ b/docs/zh_CN/api-guides/unit-tests.rst @@ -1,5 +1,6 @@ ESP32 中的单元测试 ================== +:link_to_translation:`en:[English]` ESP-IDF 中附带了一个基于 ``Unity`` 的单元测试应用程序框架,且所有的单元测试用例分别保存在 diff --git a/docs/zh_CN/contribute/creating-examples.rst b/docs/zh_CN/contribute/creating-examples.rst index fa9ad0fca..84ab79146 100644 --- a/docs/zh_CN/contribute/creating-examples.rst +++ b/docs/zh_CN/contribute/creating-examples.rst @@ -1,5 +1,6 @@ 创建示例项目 ============ +:link_to_translation:`en:[English]` 每个 ESP-IDF 的示例都是一个完整的项目,其他人可以将示例复制至本地,并根据实际情况进行一定修改。请注意,示例项目主要是为了展示 ESP-IDF 的功能。 diff --git a/docs/zh_CN/get-started/linux-setup-scratch.rst b/docs/zh_CN/get-started/linux-setup-scratch.rst index afeafa852..ca3dbcebb 100644 --- a/docs/zh_CN/get-started/linux-setup-scratch.rst +++ b/docs/zh_CN/get-started/linux-setup-scratch.rst @@ -1,6 +1,7 @@ ********************************** 从零开始设置 Linux 环境下的工具链 ********************************** +:link_to_translation:`en:[English]` .. note:: diff --git a/docs/zh_CN/get-started/macos-setup-scratch.rst b/docs/zh_CN/get-started/macos-setup-scratch.rst index 0b2d23809..1588c80c8 100644 --- a/docs/zh_CN/get-started/macos-setup-scratch.rst +++ b/docs/zh_CN/get-started/macos-setup-scratch.rst @@ -1,6 +1,7 @@ ********************************** 从零开始设置 Mac OS 环境下的工具链 ********************************** +:link_to_translation:`en:[English]` .. note:: diff --git a/docs/zh_CN/hw-reference/index.rst b/docs/zh_CN/hw-reference/index.rst index cbd034fd1..f65e95a6c 100644 --- a/docs/zh_CN/hw-reference/index.rst +++ b/docs/zh_CN/hw-reference/index.rst @@ -1,6 +1,7 @@ ************************ ESP32 H/W 硬件参考 ************************ +:link_to_translation:`en:[English]` .. toctree:: :maxdepth: 2 diff --git a/docs/zh_CN/resources.rst b/docs/zh_CN/resources.rst index 2a342cdd4..a02507e5e 100644 --- a/docs/zh_CN/resources.rst +++ b/docs/zh_CN/resources.rst @@ -1,6 +1,7 @@ **** 资源 **** +:link_to_translation:`en:[English]` * 您可以在 `ESP32 论坛 `_ 中提出您的问题,访问社区资源。