diff --git a/README.md b/README.md index f1952a9e6..c886af4b8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ ### mDNS * Brief introduction [README](components/mdns/README.md) -* Full html [documentation](https://espressif.github.io/esp-protocols/mdns/index.html) +* Full html [documentation(English)](https://espressif.github.io/esp-protocols/mdns/en/index.html) +* Full html [documentation(Chinese)](https://espressif.github.io/esp-protocols/mdns/zh_CN/index.html) ### esp_websocket_client diff --git a/components/esp_websocket_client/docs/conf_common.py b/components/esp_websocket_client/docs/conf_common.py index 86f4a0f43..edae5fd88 100644 --- a/components/esp_websocket_client/docs/conf_common.py +++ b/components/esp_websocket_client/docs/conf_common.py @@ -15,7 +15,7 @@ html_context['github_repo'] = 'esp-docs' # Extra options required by sphinx_idf_theme project_slug = 'esp-idf' # >=5.0 -versions_url = 'https://dl.espressif.com/dl/esp-idf/idf_versions.js' +versions_url = 'https://github.com/espressif/esp-protocols/docs/docs_versions.js' idf_targets = ['esp32'] languages = ['en'] diff --git a/components/esp_websocket_client/examples/CMakeLists.txt b/components/esp_websocket_client/examples/CMakeLists.txt index 3496c6a20..4f5b8aaaf 100644 --- a/components/esp_websocket_client/examples/CMakeLists.txt +++ b/components/esp_websocket_client/examples/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.5) set(EXTRA_COMPONENT_DIRS "../..") # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection. -list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common) +list(APPEND EXTRA_COMPONENT_DIRS "../../../common_components/protocol_examples_common") include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(websocket_example) diff --git a/components/mdns/README.md b/components/mdns/README.md index dd8678527..c55e98cad 100644 --- a/components/mdns/README.md +++ b/components/mdns/README.md @@ -8,4 +8,5 @@ Get started with example test [Example](examples/README.md): ## Documentation -* View the full [html documentation](https://espressif.github.io/esp-protocols/mdns/index.html) +* View the full [documentation(English)](https://espressif.github.io/esp-protocols/mdns/en/index.html) +* View the full [documentation(Chinese)](https://espressif.github.io/esp-protocols/mdns/zh_CN/index.html) diff --git a/components/mdns/idf_component.yml b/components/mdns/idf_component.yml new file mode 100644 index 000000000..e9125d225 --- /dev/null +++ b/components/mdns/idf_component.yml @@ -0,0 +1,5 @@ +version: "1.0.2" +description: mDNS +dependencies: + idf: + version: ">=5.0"