docs: consolidate Chinese vLLM guides with checked compatibility mirror

Signed-off-by: zhifu gao <[email protected]>
This commit is contained in:
zhifu gao
2026-09-07 10:21:57 +00:00
parent e42443f559
commit 893bb068ed
11 changed files with 357 additions and 64 deletions
+6
View File
@@ -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
+4
View File
@@ -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