From fc82e4a4b40af41f63ebf252838e5887940ee64e Mon Sep 17 00:00:00 2001 From: xysun Date: Fri, 3 Jan 2025 19:41:49 +0800 Subject: [PATCH] feat: update esp32p4 docs --- .gitlab-ci.yml | 7 ++++--- docs/conf_common.py | 2 +- docs/en/benchmark/README.rst | 2 +- docs/requirements.txt | 2 +- docs/zh_CN/benchmark/README.rst | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16bef86..4c1346d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -225,12 +225,13 @@ build_esp_sr_html: script: - cd $DOCS_DIR - ./check_lang_folder_sync.sh + - pip install -r requirements.txt - build-docs --skip-reqs-check -l $DOCLANG -t $DOCTGT - echo "ESP-SR documentation preview available at $CI_JOB_URL/artifacts/file/docs/_build/$DOCLANG/$DOCTGT/html/index.html" parallel: matrix: - DOCLANG: ["en", "zh_CN"] - DOCTGT: ["esp32", "esp32s3"] + DOCTGT: ["esp32", "esp32s3", "esp32p4"] build_esp_sr_pdf: extends: @@ -252,7 +253,7 @@ build_esp_sr_pdf: parallel: matrix: - DOCLANG: ["en", "zh_CN"] - DOCTGT: ["esp32", "esp32s3"] + DOCTGT: ["esp32", "esp32s3", "esp32p4"] .deploy_docs_template: @@ -281,7 +282,7 @@ deploy_docs_preview: DOCS_DEPLOY_SERVER: "$DOCS_PREVIEW_SERVER" DOCS_DEPLOY_SERVER_USER: "$DOCS_PREVIEW_SERVER_USER" DOCS_DEPLOY_PATH: "$DOCS_PREVIEW_PATH" - DOCS_DEPLOY_URL_BASE: "https://$DOCS_PREVIEW_SERVER_URL/docs/esp-sr" + DOCS_DEPLOY_URL_BASE: "$DOCS_PREVIEW_URL_BASE" deploy_docs_production: extends: diff --git a/docs/conf_common.py b/docs/conf_common.py index f544ad3..dd9481c 100755 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -1,7 +1,7 @@ from esp_docs.conf_docs import * # noqa: F403,F401 languages = ['en', 'zh_CN'] -idf_targets = ['esp32', 'esp32s3'] +idf_targets = ['esp32', 'esp32s3', 'esp32p4'] extensions += ['sphinx_copybutton', 'sphinxcontrib.wavedrom', diff --git a/docs/en/benchmark/README.rst b/docs/en/benchmark/README.rst index 6022039..4cd3c40 100644 --- a/docs/en/benchmark/README.rst +++ b/docs/en/benchmark/README.rst @@ -172,7 +172,7 @@ Resource Consumption | MultiNet 7 | 18 KB | 2920 KB | 11 ms | 32 ms | +-------------+-------------+-------------+-------------+-------------+ -.. only:: esp32s3 +.. only:: esp32p4 +-------------+-------------+-------------+-------------+-------------+ | Model Type | Internal | PSRAM | Average | Frame | diff --git a/docs/requirements.txt b/docs/requirements.txt index 680da86..714c8f5 100755 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1 @@ -esp-docs==1.3.0 +esp-docs==1.* diff --git a/docs/zh_CN/benchmark/README.rst b/docs/zh_CN/benchmark/README.rst index 159a740..2277d48 100644 --- a/docs/zh_CN/benchmark/README.rst +++ b/docs/zh_CN/benchmark/README.rst @@ -174,7 +174,7 @@ MultiNet | MultiNet 6 | 32 KB | 4100 KB | 12 ms | 32 ms | +-------------+-------------+-------------+-------------+-------------+ -.. only:: esp32s3 +.. only:: esp32p4 +-------------+-------------+-------------+-------------+-------------+ | Model Type | Internal | PSRAM | Average | Frame |