Repository navigation
Conversation
## 概要 DOCX変換処理の責務を複数モジュールへ分割し、画像asset出力、manifest生成、Markdownレンダリング、summary生成、ブラウザZIP生成などの処理を独立したモジュールへ整理しました。 あわせて、画像asset対応後の実装仕様・設計仕様・upstream参照方針のドキュメントを現状に合わせて更新しています。 ## 変更内容 - `core.ts` からDOCX package loading、画像asset収集、Markdownレンダリング、summary生成、asset manifest生成などの処理を分離 - `document-parser.ts` から文書ブロック解析、段落解析、inline解析、table解析、drawing解析、anchor処理、summary処理を分離 - `asset-manifest.ts`、`browser-zip.ts`、`docx-assets.ts`、`docx-package-loader.ts`、`image-trace.ts`、`markdown-renderer.ts`、`summary.ts` などの新規モジュールを追加 - browser UI 側の asset ZIP 生成処理を `browser-zip` モジュール利用へ整理 - `scripts/lib/docx2md-module-order.mjs` と `miku-docx2md-src.html` の読み込み順を、分割後のモジュール構成に合わせて更新 - `index-src.html` と `package.json` のバージョンを `0.8.1` に更新 - `docs/docx2md-impl-spec.md`、`docs/docx2md-spec.md`、`docs/upstream.md` を、解決可能な埋め込み画像の sidecar asset 出力に合わせて更新 - `TODO.md` のリファクタリング関連項目を完了状態へ更新し、リファクタリング再開メモを追加 - 生成済みの `src/js/*`、`index.html`、`miku-docx2md.html` を更新 ## 確認事項 - テスト実行結果: 未確認 - ビルド実行結果: 未確認
DOCX変換処理をモジュール分割し画像asset出力仕様を整理
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
devel の成果を main に反映