mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-27 13:28:32 +07:00
Problem: Smart merge was using json.dump() which reformatted docs.json, creating huge diffs that made translation PRs hard to review. Solution: Use save_json_with_preserved_format() which detects and preserves the original formatting style from the translation branch's docs.json. Impact: - Translation PR diffs now show only actual content changes - Formatting (indentation, spacing) preserved from original - Much easier to review what actually changed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>