Skip to content

Commit

Permalink
Merge branch 'docs/esp32p4' into 'master'
Browse files Browse the repository at this point in the history
feat: update esp32p4 docs

See merge request speech-recognition-framework/esp-sr!128
  • Loading branch information
sun-xiangyu committed Jan 7, 2025
2 parents 1379c90 + fc82e4a commit af808c0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -252,7 +253,7 @@ build_esp_sr_pdf:
parallel:
matrix:
- DOCLANG: ["en", "zh_CN"]
DOCTGT: ["esp32", "esp32s3"]
DOCTGT: ["esp32", "esp32s3", "esp32p4"]


.deploy_docs_template:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf_common.py
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
2 changes: 1 addition & 1 deletion docs/en/benchmark/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
esp-docs==1.3.0
esp-docs==1.*
2 changes: 1 addition & 1 deletion docs/zh_CN/benchmark/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit af808c0

Please sign in to comment.