There are now visible links to change between English and Chinese version of documentation. Therefore information on the home page how to switch between languages has been removed. Added 'Download' link to the menu to provide a more visible access to documentation in PDF format for people who prefer to read it offline.

This commit is contained in:
krzychb 2018-08-12 21:21:35 +02:00 committed by Krzysztof
parent 17ac4bad73
commit c8b342cc40
3 changed files with 8 additions and 13 deletions

View file

@ -4,8 +4,6 @@ ESP-IDF Programming Guide
This is the documentation for Espressif IoT Development Framework (`esp-idf <https://github.com/espressif/esp-idf>`_). ESP-IDF is the official development framework for the `ESP32 <https://espressif.com/en/products/hardware/esp32/overview>`_ chip.
The documentation has different language versions (:link_to_translation:`en:English`, :link_to_translation:`zh_CN:中文版`, :doc:`How to switch between languages? <languages>`). However, please refer to the English version if there is any discrepancy.
================== ================== ==================
|Get Started|_ |API Reference|_ |H/W Reference|_
------------------ ------------------ ------------------
@ -49,7 +47,8 @@ The documentation has different language versions (:link_to_translation:`en:Engl
Resources <resources>
Copyrights <COPYRIGHT>
About <about>
[语言/Languages] <languages>
语言/Languages <languages>
Download <https://readthedocs.com/projects/espressif-esp-idf/downloads/>
* :ref:`genindex`

View file

@ -1,19 +1,16 @@
Switch Between Languages/切换语言
=================================
The documentation now has two language versions, however, please refer to the English version if there is any discrepancy.
The ESP-IDF Programming Manual is now available in two languages. Please refer to the English version if there is any discrepancy.
本文档现在有两种语言的版本,如有出入请以英文版本为准。
《ESP-IDF 编程手册》部分文档现在有两种语言的版本。如有出入请以英文版本为准。
- English/英文
- Chinese/中文
You can easily changed from one language to another by the panel on the sidebar like below. Just click on the **Read
the Docs** title button on the left-bottom conner if it is folded.
You can easily change from one language to another by the panel on the sidebar like below. Just click on the **Read the Docs** title button on the left-bottom corner if it is folded.
如下图所示,你可使用边栏的面板进行语言的切换。如果该面板被折叠,点击左下角 **Read the Docs** 标题按钮来显示它。
.. image:: /../_static/choose_version.png

View file

@ -2,9 +2,7 @@ ESP-IDF 编程指南
=========================
:link_to_translation:`en:[English]`
这是乐鑫 IoT 开发开发框架 (`esp-idf <https://github.com/espressif/esp-idf>`_) 的文档. ESP-IDF 是 `ESP32 <https://www.espressif.com/zh-hans/products/hardware/esp32/overview>`_ 芯片的官方开发框架.
本文档提供不同语言的翻译版本 (:link_to_translation:`en:English`, :link_to_translation:`zh_CN:中文版`, :doc:`如何切换语言? <languages>`), 如有出入请以英文版本为准。
这里是乐鑫 IoT 开发框架 (`esp-idf <https://github.com/espressif/esp-idf>`_) 的文档中心。ESP-IDF 是 `ESP32 <https://www.espressif.com/zh-hans/products/hardware/esp32/overview>`_ 芯片的官方开发框架。
================== ================== ==================
|快速入门|_ |API 参考|_ |H/W 参考|_
@ -49,7 +47,8 @@ ESP-IDF 编程指南
相关资源 <resources>
版权 <COPYRIGHT>
关于 <about>
[Languages/语言] <languages>
Languages/语言 <languages>
下载 <https://readthedocs.com/projects/espressif-esp-idf/downloads/>
* :ref:`genindex`