From 6f50b02a3a9c5ff91df82934095d0ec0fac2cda7 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Mon, 13 Nov 2023 14:00:28 +0100 Subject: [PATCH] fix(tools): Remove idf.py dependencies from documentation Those dependencies are always satisfied because: - ESP-IDF supports Python 3.8+ at this moment, - click version is checked and ensured by the install scripts. --- docs/en/api-guides/tools/idf-py.rst | 2 -- docs/zh_CN/api-guides/tools/idf-py.rst | 2 -- 2 files changed, 4 deletions(-) diff --git a/docs/en/api-guides/tools/idf-py.rst b/docs/en/api-guides/tools/idf-py.rst index 7fc6afaa65..155882d87a 100644 --- a/docs/en/api-guides/tools/idf-py.rst +++ b/docs/en/api-guides/tools/idf-py.rst @@ -140,8 +140,6 @@ For commands that are not known to ``idf.py``, an attempt to execute them as a b The command ``idf.py`` supports `shell autocompletion `_ for bash, zsh and fish shells. -In order to make `shell autocompletion `_ supported, please make sure you have at least Python 3.5 and `click `_ 7.1 or newer (:ref:`Software `). - To enable autocompletion for ``idf.py``, use the ``export`` command (:ref:`Step 4. Set up the environment variables `). Autocompletion is initiated by pressing the TAB key. Type ``idf.py -`` and press the TAB key to autocomplete options. The autocomplete support for PowerShell is planned in the future. diff --git a/docs/zh_CN/api-guides/tools/idf-py.rst b/docs/zh_CN/api-guides/tools/idf-py.rst index 6e21802bea..945e7c95e2 100644 --- a/docs/zh_CN/api-guides/tools/idf-py.rst +++ b/docs/zh_CN/api-guides/tools/idf-py.rst @@ -140,8 +140,6 @@ ESP-IDF 支持多个目标芯片,运行 ``idf.py --list-targets`` 查看当前 命令 ``idf.py`` 支持 bash、zsh 和 fish shell 的 `shell 自动补全 `_。 -为实现 `shell 自动补全 `_,请确保 Python 版本为 3.5 及以上,`click `_ 版本为 7.1 及以上(请参阅 :ref:`软件 `)。 - 调用命令 ``export`` 为 ``idf.py`` 启用自动补全(:ref:`第四步:设置环境变量 `),按 TAB 键启动自动补全。输入 ``idf.py -`` 并按 TAB 键以自动补全选项。 预计未来版本将支持 PowerShell 自动补全。