docs(office): drop the checker upgrade guide
Bundled Office resource files are internal implementation, so removing check_office.py breaks no supported surface.
This commit is contained in:
1 parent
f44cfa7813
commit
232f86dadc
3 files changed
-52
No files matched your search
@@ -1,16 +0,0 @@
|
||||
# Bilingual-pair consistency record for guide.md (docs/i18n/README.md): per heading
|
||||
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
||||
# After editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.md
|
||||
/:
|
||||
en: f4b19b20596dbad2
|
||||
zh: 25a90d5e8c51f3cd
|
||||
/office-checker-removal:
|
||||
en: fdc485db7a686d77
|
||||
zh: f2a854177c14e43d
|
||||
/office-checker-removal/change:
|
||||
en: 5639536624303537
|
||||
zh: 8d55fe469d69247c
|
||||
/office-checker-removal/migration:
|
||||
en: a76670cef92daa37
|
||||
zh: cc95cc2c84cd78d9
|
||||
@@ -1,18 +0,0 @@
|
||||
---
|
||||
kind: upgrade-guide
|
||||
description: "Bundled Office resources no longer provide the check_office.py command."
|
||||
---
|
||||
|
||||
# Office checker removal
|
||||
|
||||
English | [中文](guide.zh.md)
|
||||
|
||||
## Change
|
||||
|
||||
Office resources no longer include `scripts/check_office.py`. Custom skills and scripts that invoke this helper must update. Authoring skills verify saved documents through their Python libraries; the provider no longer requires a shared scripts directory. Rendering, recalculation, and PDF export remain separate operations.
|
||||
|
||||
## Migration
|
||||
|
||||
1. Remove calls to `check_office.py` from custom Office workflows.
|
||||
2. Reopen saved files with python-docx, python-pptx, or openpyxl and verify the requested content, formatting, and preserved data. These checks do not provide a package-integrity report.
|
||||
3. Run the workflow and confirm that the requested edits survive reopening. Request rendering or recalculation when the task needs those operations.
|
||||
@@ -1,18 +0,0 @@
|
||||
---
|
||||
kind: upgrade-guide
|
||||
description: "内置 Office 资源不再提供 check_office.py 命令。"
|
||||
---
|
||||
|
||||
# Office 检查器移除
|
||||
|
||||
[English](guide.md) | 中文
|
||||
|
||||
## 变更
|
||||
|
||||
Office 资源不再包含 `scripts/check_office.py`。调用该脚本的自定义技能和脚本需要更新。创作技能通过对应的 Python 库验证保存后的文档;提供者不再要求共享脚本目录。渲染、重算和 PDF 导出仍是独立操作。
|
||||
|
||||
## 迁移
|
||||
|
||||
1. 从自定义 Office 工作流中移除 `check_office.py` 调用。
|
||||
2. 用 python-docx、python-pptx 或 openpyxl 重新打开保存的文件,验证请求的内容、格式及需要保留的数据。这些检查不提供包完整性报告。
|
||||
3. 执行工作流,确认重新打开后请求的修改仍然存在。任务需要时再要求渲染或重算。
|
||||
Reference in new issue
Block a user