fix: CI 改用 apt 安装 mkdocs(避免 PEP 668 externally-managed-environment)
CI / docs-build (push) Successful in 12m21s

This commit is contained in:
2026-09-04 18:25:19 +08:00
parent f267141334
commit 5537f92227
+2 -2
View File
@@ -24,8 +24,8 @@ jobs:
git checkout -q refs/ci-head
- name: Install mkdocs
run: |
command -v pip3 >/dev/null || { apt-get update -qq && apt-get install -y -qq python3-pip; }
pip3 install -q -i https://mirrors.cloud.tencent.com/pypi/simple mkdocs
apt-get update -qq
apt-get install -y -qq --no-install-recommends mkdocs
# 与本地门禁同一命令;exit 0 且零 warning 方可合入(git-workflow.md
- name: Build docs (strict)
run: mkdocs build --strict -d /tmp/site