feat(playbook): add install_mode deployment config

BREAKING CHANGE: [vendor] and playbook.deploy_root are no longer supported. Use [playbook].install_mode and playbook.playbook_root instead.
This commit is contained in:
csh
2026-06-01 10:49:16 +08:00
parent 2c3a559a30
commit f2ab57b39f
15 changed files with 376 additions and 184 deletions
+3 -3
View File
@@ -110,10 +110,10 @@ no_backup = true
如果你的项目已经把本 Playbook 部署到项目内,则在目标项目里执行:
```bash
python <deploy_root>/scripts/playbook.py -config playbook.toml
python <playbook_root>/scripts/playbook.py -config playbook.toml
```
其中 `<deploy_root>` 默认为 `docs/standards/playbook`
其中 `<playbook_root>` 默认为 `docs/standards/playbook`
---
@@ -158,7 +158,7 @@ python <deploy_root>/scripts/playbook.py -config playbook.toml
- Python`docs/python/style_guide.md``docs/python/tooling.md``docs/python/configuration.md`
若你的项目把本 Playbook 部署到项目内,文档根路径为
`<deploy_root>/docs/...`;其中 `<deploy_root>` 默认为 `docs/standards/playbook`,也可以按项目配置改成 `custom/playbook` 等自定义目录。
`<playbook_root>/docs/...`;其中 `<playbook_root>` 默认为 `docs/standards/playbook`,也可以按项目配置改成 `custom/playbook` 等自定义目录。
---