Commit Graph

5 Commits

Author SHA1 Message Date
Chenhe Gu
224923311b Add workflow to retrigger translation on PR approval (#625)
Closes the gap where first-time contributor PRs require maintainer
approval, but approval events don't trigger the translation workflow.

New workflow: sync_docs_on_approval.yml
- Listens to pull_request_review (submitted, approved)
- Re-runs the most recent Analyze workflow for the PR
- This triggers the existing Execute chain with fresh artifacts
- Posts "approval received" comment before starting

Note: Fork/author/reviewer checks are commented out for testing.
Search for "TODO: UNCOMMENT" to restore after testing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 16:25:37 -08:00
Chenhe Gu
f9c1a5f424 revert last 5 commits that may have caused landing page load error (#576)
* Revert last 5 commits

* revert last 5 commits
2025-12-02 13:42:20 +08:00
yyh
5eeed32263 refactor: consolidate AGENTS.md and CLAUDE.md into single source (#570)
- Merge CLAUDE.md content into AGENTS.md as the single source of truth
- Create symbolic link from CLAUDE.md to AGENTS.md for backward compatibility
- Fix incorrect language directory names (cn->zh, jp->ja) throughout documentation
- Consolidate project overview, translation system, and development commands
- Maintain both general Mintlify guidelines and Dify-specific technical details
2025-12-02 12:15:35 +08:00
Alter-xyz
4339f79a55 feat: add translation A/B testing framework (#564)
Add tools for comparing translation quality between different models
(e.g., Sonnet vs Opus) or prompt variations. Useful for evaluating
translation improvements before deploying changes.

- run_test.py: Test runner with Dify API streaming
- compare.py: Generate similarity reports between variants
- Example spec and documentation included

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-28 16:02:13 +08:00
Chenhe Gu
08e9e11c90 Replace main with revamp (#547) 2025-11-26 04:46:31 -08:00