mirror of
https://github.com/modelscope/FunASR.git
synced 2026-10-12 02:19:18 +00:00
docs: consolidate Chinese vLLM guides with checked compatibility mirror
Signed-off-by: zhifu gao <[email protected]>
This commit is contained in:
@@ -14,6 +14,7 @@ on:
|
||||
- 'runtime/**/*.md'
|
||||
- 'examples/openai_api/**/*.md'
|
||||
- 'scripts/gen_api_docs.py'
|
||||
- 'scripts/sync_vllm_guide.py'
|
||||
- 'tests/test_*docs*.py'
|
||||
- 'tests/test_api_signatures.py'
|
||||
- 'gh-pages-output/**'
|
||||
@@ -35,6 +36,7 @@ on:
|
||||
- 'runtime/**/*.md'
|
||||
- 'examples/openai_api/**/*.md'
|
||||
- 'scripts/gen_api_docs.py'
|
||||
- 'scripts/sync_vllm_guide.py'
|
||||
- 'tests/test_*docs*.py'
|
||||
- 'tests/test_api_signatures.py'
|
||||
- 'gh-pages-output/**'
|
||||
@@ -81,12 +83,16 @@ jobs:
|
||||
run: python -m pip install -r web-pages/product-site/requirements-site.txt
|
||||
- name: Run product-site tests
|
||||
run: python -m pytest web-pages/product-site/tests -q
|
||||
- name: Check generated vLLM compatibility guide
|
||||
run: python scripts/sync_vllm_guide.py --check
|
||||
- name: Run model-free documentation contracts
|
||||
run: >-
|
||||
python -m pytest
|
||||
tests/test_learning_docs_contract.py
|
||||
tests/test_reference_docs_contract.py
|
||||
tests/test_vllm_examples_contract.py
|
||||
tests/test_vllm_guide_sync_docs.py
|
||||
tests/test_vllm_model_source_docs.py
|
||||
tests/test_training_docs_contract.py
|
||||
tests/test_python_api_docs_contract.py
|
||||
tests/test_streaming_vad_docs.py
|
||||
|
||||
@@ -6,6 +6,7 @@ on:
|
||||
paths:
|
||||
- 'funasr/**/*.py'
|
||||
- 'scripts/gen_api_docs.py'
|
||||
- 'scripts/sync_vllm_guide.py'
|
||||
- 'training.html'
|
||||
- 'docs/**/*.md'
|
||||
- 'examples/openai_api/**/*.md'
|
||||
@@ -30,6 +31,9 @@ jobs:
|
||||
- name: Generate API docs
|
||||
run: python3 scripts/gen_api_docs.py
|
||||
|
||||
- name: Check generated vLLM compatibility guide
|
||||
run: python3 scripts/sync_vllm_guide.py --check
|
||||
|
||||
- name: Render shared documentation sources
|
||||
run: |
|
||||
python3 -m pip install -r web-pages/product-site/requirements-site.txt
|
||||
|
||||
Reference in New Issue
Block a user