Commit Graph

63 Commits

Author SHA1 Message Date
Riskey dbd94cd64b docs: sync release/1.14.1 into main (#777)
* docs: add Hidden & Pre-Filled section to User Input page (#773)

* docs: add Hidden & Pre-Filled section to User Input page

* translate: add Hidden & Pre-Filled section in user-input (zh, ja)

* docs: add macro translation principles to zh formatting guide

* fix: correct Variables anchor in zh/ja translations

* docs: update docker compose environment docs (#774)

* docs: update docker compose environment docs

* chore: retrigger documentation analysis

* docs: refine env-split deployment docs and translate zh/ja

* docs: update aws premium env guidance

* docs: refine aws premium env guidance and translate zh/ja

---------

Co-authored-by: RiskeyL <7a8y@163.com>

* Docs/1.14.1 check (#775)

* docs: sync knowledge api spec for 1.14.1

* chore: tighten release-sync and api-reference skills

* docs: update education discount steps

* docs: relax over-applied zh translation rules

* docs: sync env vars for 1.14.1

* chore: env-vars verifier supports multi-file layout

* docs: cover editable class labels in question classifier; sync question classifier zh/ja docs

* chore: sync termbase_i18n with current glossary

* docs: update collaboration docs for websocket service split; sync zh/ja translation

* docs: human input updates for 1.14.1; sync zh/ja

* docs: add end user term to glossary

* chore: align ja api spec human input terminology with glossary

* fix: enforce at-least-one tag in unbinding request schema

* Revert "fix: enforce at-least-one tag in unbinding request schema"

This reverts commit b392b148.

Mintlify renders schema-level `anyOf` as unlabeled "Option 1" / "Option 2"
tabs in the request body section, which is more confusing than the
loose-schema-with-prose-rule it replaced. The SDK-generator benefit isn't
worth the rendered-docs regression for a deprecated compat path. Keep the
contract in the parameter descriptions only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: add "Agent app" glossary entry to disambiguate from Agent node

---------

Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 16:20:12 +08:00
Riskey 66523cf52b docs: 1.14 release follow-up fixes (#766)
* docs: 1.14 fixes for HITL events and Creator Center env vars (#764)

* docs: reorganize chatflow API tags and surface workflow_run_id

* refactor: update internal tooling for dify-graphon repo split

* fix: surface workflow_run_id in HITL stream events

* chore: tighten env-vars skill source-of-truth rule

* docs: document Creator Center env vars

* fix: use language-prefixed paths for non-api-reference links

* fix: drop redundant workflow_run_id from workflow HITL events

* fix: drop format uuid from chatflow HITL workflow_run_id

* docs: small fixes for self-host, workspace, and CJK disclaimers (#765)

* docs: shorten docker-compose section headings

* docs: update Team plan limit and remove Dataset Operator role

* fix: correct Japanese translation errors in workspace docs

* style: align AI translation disclaimers with CJK spacing rules

* style: add missing space between disclaimer link and particle in ja docs

* fix: point zh general-specifications disclaimer to en source

* fix: drop format uuid from chatflow workflow paused event
2026-04-29 21:47:53 +08:00
Riskey dd89e17178 docs: 1.14 release documentation (#763)
* docs: sync App Toolkit with dify#35442 follow-up settings (#757)

* docs: sync App Toolkit page with follow-up settings PR and UI labels

* fix: correct CJK format linter false positives

* chore: broaden post-writing audit scope to whole documents

* docs: address Copilot review on PR #754

Restore the Tab titles rule in formatting-zh.md, which had been trimmed
to a stub. Drop the First-Mention Rule entry from the terminology-check
skill's Output Format so the report sections match the Checks to
Perform sections (the corresponding check was removed earlier).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: document workflow collaboration feature (#758)

* docs: add workflow collaboration user guide

* docs: tighten style and formatting guides

* docs: avoid "please" in zh refer-to phrases

* fix: add CJK-Latin spacing in translation notice templates

* docs: add env var coordination to dify-docs-guides skill

* docs: document collaboration environment variables

* style: trim collaboration env var descriptions for consistency

* docs: add zoom menu tip for hiding comments and cursors

* docs: sync collaboration UI labels after upstream localization

* docs: rewrite orchestration logic for cross-workflow node copy-paste (#759)

* docs: rewrite orchestration logic and extend workflow-chatflow overview

* translate: update zh and ja for orchestration logic and overview

* docs: refine orchestration logic node reuse section

* docs: clarify MAX_TREE_DEPTH env var description

* fix: align zh title and body references with the glossary UI label

* fix: align EN node reuse text with zh/ja translations (User Input exception)

Agent-Logs-Url: https://github.com/langgenius/dify-docs/sessions/00e54676-8a43-4b6f-99f8-fef2495b054f

Co-authored-by: RiskeyL <36894937+RiskeyL@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

* docs: note HTTPS requirement for cross-workflow node paste (#761)

* docs: HITL Service API polish and 1.14 release follow-ups (#760)

* feat: add env var ignore-list consumed by the verifier

* docs: add 1.14 env vars and correct drifted defaults

* fix: correct knowledge pipeline datasource-plugins response in api references

* chore: record 1.14 env var traces in deep-dive

* docs: update HITL Service API documentation

* docs: clarify /api-reference/ link convention in formatting guide

* docs: update marketplace publish flow

* fix: drop duplicate workflow_run_id from HITL event data schemas

The three HITL event schemas (StreamEventHumanInputRequired,
StreamEventHumanInputFormFilled, StreamEventHumanInputFormTimeout)
declared `workflow_run_id` inside `data.properties`, but
`HumanInputRequiredResponse` in `api/core/app/entities/task_entities.py`
defines `workflow_run_id` only as a top-level field on the response
(alongside `event` and `task_id`); its inner `Data` class doesn't carry
one. The OpenAPI spec already provides top-level `workflow_run_id` via
the `$ref: StreamEventBase` in the `allOf` composition, so the inline
duplicate was a phantom field that doesn't exist in the actual payload.

Remove the inline `workflow_run_id` from `data.properties` in all three
HITL event schemas across all six spec files. This relies on
`StreamEventBase` to provide `workflow_run_id` at the top level via
composition, matching how every other event schema in this spec handles
it (e.g., `StreamEventWorkflowStarted`).

Reported by Copilot on PR #756.

* fix: address Copilot's review comments

* feat: skip api-reference paths in internal link checker

The /api-reference/... URL convention (no language prefix, derived
from OpenAPI tag/summary) generates pages that Mintlify auto-builds
rather than from filesystem MDX files, so the existing filesystem
resolution logic flags every such link as broken.

Skip both filesystem-existence and anchor validation for any URL
containing /api-reference/, mirroring the existing
anchor_check_skipped behaviour. The convention is documented in
writing-guides/formatting-guide.md.

Caveat: typos in tag or summary slugs will now pass silently. A
follow-up could parse the OpenAPI specs to validate against the
real tag/summary kebab pairs if hand-written api-reference links
become common enough to warrant it.

* fix: correct CORS anchor in ja environments page

Inline link [CORS設定](#cors 設定) used a literal space, but the
heading "CORS 設定" slugifies to "cors-設定" (whitespace replaced
with hyphen). Update the anchor to #cors-設定.

* fix: align datasource-plugins is_published and 200 description with node framing

* fix: clarify chatflow stream workflow events task_id origin

* docs: address HITL Service API reader-test feedback

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-04-29 11:57:59 +08:00
Riskey 8c5ca8f6d1 feat: add anchor validation to internal link checker (#748)
* feat: add anchor validation to internal link checker

* fix: correct stale anchor links in en/zh/ja docs

* refactor: address Copilot feedback on link checker
2026-04-16 21:17:24 +08:00
Riskey b94ec219e8 docs: rewrite variable aggregator node page (#745)
* docs: rewrite the variable aggregator node page

* translate: update variable aggregator page for zh and ja

* fix: address review feedback on variable aggregator page

Remove trailing whitespace in en page and restore translation
disclaimers on zh and ja pages for consistency with other translated
node pages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* docs: require translation disclaimer on all zh/ja pages

Add a Translation Disclaimer section to both zh and ja formatting
guides. Every translated page must include the disclaimer regardless
of review status, since the English source is always canonical and
readers benefit from a consistent pointer on every page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* docs: clarify variable aggregator usage in trigger pages

Simplify the guidance on using a Variable Aggregator to converge
plugin and webhook trigger branches. Align zh and ja translations
with the glossary term (变量聚合器 / 変数集約器).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 11:58:07 +08:00
Riskey 7cea249f73 docs: rewrite external knowledge base documentation (#737)
* docs: rewrite external knowledge base overview page

* docs: rewrite external knowledge API specification

* style: add adjustable parameter guidance pattern

* fix: standardize "similarity score" terminology across docs and glossary

* fix: address Copilot's PR review feedback on external knowledge base docs

* translate: sync zh/ja external knowledge base pages with English rewrite

* style: add standard phrase translation convention for zh docs

* fix: address Copilot's PR review feedback on external knowledge base docs

* docs: strengthen codebase verification rule for rewrites

* docs: elevate cross-reference anchor rule in translation guides

* style: add vague cross-references pattern to style guide

* fix: remove filler content from external knowledge base pages

* fix: correct anchor examples in translation formatting guides

* fix: translate code block examples and remove invalid operators in zh/ja API spec

* docs: add translation quality rules for EN→ZH/JA

* docs: move LlamaCloud setup to tip and remove Connection Example section

* translate: sync zh/ja with LlamaCloud restructure and apply new quality rules
2026-04-15 10:26:52 +08:00
Riskey b6f87ac5d4 docs: rewrite Output node page with zh/ja translations and glossary updates (#742)
* docs: rewrite Output node page and add API mode glossary terms

* translate: sync zh/ja Output node pages with rewritten English source

* style: add link spacing rule for ja and expand anchor rule to cover Tab titles

* fix: remove trailing whitespace in en and replace em dashes in zh
2026-04-10 16:37:39 +08:00
Riskey 83fc9593fa docs: document datasource_info_list schemas and improve Run Pipeline API (#741)
* docs: document datasource_info_list per-type schemas for Run Pipeline API

* docs: improve Run Pipeline parameter descriptions and SSE event documentation

* translate: sync zh/ja pipeline API specs with English schema updates

* fix: address Copilot's PR review feedback on pipeline API docs

* style: add punctuation spacing and API cross-link rules to translation guides
2026-04-10 15:49:43 +08:00
Riskey 729606605a fix: handle non-ASCII URLs and false positives in external link checker (#740) 2026-04-10 13:14:42 +08:00
Riskey fac0601fd6 chore: remove orphaned files, obsolete scripts, and unused images (#731) 2026-04-04 00:27:02 +08:00
Riskey 0cdcccc248 docs: add app type introduction pages and sync zh/ja translations (#728)
* draft

* refactor: reorganize sidebar hierarchy, add icons to top-level categories, and remove per-page icon frontmatter from 57 MDX files

* docs: add app type introduction pages with zh/ja translations and sidebar restructuring

* style: fix CJK-Latin spacing in translation notices and address PR review feedback
2026-04-03 23:49:22 +08:00
Riskey 5a10d47966 fix: report actual error from GET fallback in link checker (#730)
* fix: report actual error from GET fallback in link checker

* fix: skip 403 responses in GET fallback path
2026-04-03 23:44:42 +08:00
Riskey 7839e094ff fix: fix broken links and add link-checking workflow (#729)
* fix: fix all broken links

* feat: add link-checking GitHub workflow

* fix: convert relative links to absolute paths in knowledge-pipeline pages

* fix: address Copilot review comments on link checker and ja docs

* feat: split link checks into per-PR internal and weekly external workflows
2026-04-03 19:07:51 +08:00
Riskey 5c1c3a4cc9 docs: sync documentation for Dify v1.13.0–v1.13.3 changes (#722)
* feat: optimize the docs-release-sync skill

* docs: add doc_form validation to knowledge API spec

* docs: update AI Credits/Default Model Settings terminology
2026-03-30 22:16:46 +08:00
Riskey 99ba370087 feat: add shared writing guides, skills, and docs infrastructure (#720) 2026-03-30 16:16:24 +08:00
Chenhe Gu 61b37d88fc Fix stale PR translation revert issue (#630)
* Fix stale PR translation revert issue

When PR A is created before PR B but PR B merges first, the translation
workflow for PR A was reverting all of PR B's changes. This happened because
the translation workflow used PR A's working directory state (which is a
snapshot from before PR B existed) rather than applying only PR A's changes.

Root cause:
- setup_translation_branch() for new branches did:
  checkout -b branch → reset --soft origin/main → reset
  This kept PR's working directory which could be stale

- For incremental branches, merge_docs_json_for_incremental_update() took
  the English section from PR HEAD, which was also stale for old PRs

Fix:
- For NEW branches: Create branch directly from origin/main (not from PR's
  working directory). This ensures we start with the latest state including
  all changes from PRs merged after this PR was created.

- For EXISTING branches: Merge main's docs.json structure with our
  translations (instead of taking EN section from stale PR)

- For BOTH: Selectively checkout only the files that the PR actually changed
  from PR's head, rather than bringing in the entire working directory.
  This prevents overwriting files from other PRs.

Example issue (PR #593):
- PR #593 only added one file
- Translation PR #611 tried to delete 11 files and revert massive docs.json changes
- This was because it used PR #593's stale state from before other PRs merged

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix: Use PR's docs.json for finding file positions in navigation

The initial fix had a side effect: since we start from main's docs.json,
and PR's new files aren't in main's English section yet, sync_docs_json_incremental()
couldn't find where to place new files in the translation navigation.

Fix: Add `reference_sha` parameter to sync_docs_json_incremental() that loads
PR's docs.json for finding file positions, while still modifying main's
translation sections. This ensures:
1. Main's docs.json structure is preserved (no reverts)
2. New files are found in PR's docs.json
3. Translations are added at the correct positions

This also removes the unused _apply_pr_english_section_to_main() method.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix EN section not updated when using reference_sha

When the translation branch starts from main, the PR's docs.json
structural changes (new file entries in EN section) were not being
incorporated. This caused the translation PR to have mismatched
navigation entries.

The fix now also updates the EN section of the working directory's
docs.json when processing added files found in the reference
docs.json (from the PR).

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Also remove deleted files from EN section in stale PR scenario

When processing deleted files, the sync now also removes them from the
EN section of docs.json. This is needed when the translation branch
starts from main, which may still have the deleted file entries.

Verified with comprehensive local testing covering 10 scenarios:
- Basic stale PR, multiple files, modifications, deletions
- Nested groups, new dropdowns, mixed operations
- Backward compatibility, incremental syncs, structure changes

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 22:46:11 -08:00
Chenhe Gu 61466c3f45 support configuring ignored files in auto sync (#629)
* Add ignore_files config to exclude specific files from translation

Adds ability to specify source language files that should not be translated:
- New `ignore_files` array in config.json
- Validation ensures paths start with source dir, have valid extension, no traversal
- Filtering applied in PRAnalyzer.categorize_files() and SyncPlanGenerator.generate_sync_plan()

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* update config

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 15:45:28 -08:00
Chenhe Gu f5aacb1377 improved local auto-sync script (#592)
* move files & renames

* rename files and doc entries

* sync develop plugin files

* update group label translations

* some cleanups

* update configs

* update links

* add remote debug doc

* delete redundant slashes and unnecessary notes

* update ja and zh links

* add script to translate locally

* update

* update

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 10:47:46 +08:00
Riskey 60ef6820ff Revert "Auto translate works (#597)" (#609)
This reverts commit 809fc7f5eb.

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-11 16:06:51 +08:00
Alter-xyz 809fc7f5eb Auto translate works (#597)
* feat: init translation prompts from Dify workflow

Add translation prompt templates used by Dify workflow:
- 1.md: New document translation
- 2.md: Update existing translation
- 3.md: Update with diff/checklist

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

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: add URL localization rule to prompt 1, fix lang codes in prompt 3

- prompt 1.md: Add Rule 3 URL Localization (was missing, causing /en/ URLs to not be mapped)
- prompt 3.md: Fix language code comments (cn/jp → zh/ja to match actual folder structure)

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

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: add README for translation prompts

Document prompt file mapping to Dify workflow nodes and testing workflow.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: move prompts to tools/translate/, add testing docs

- Move prompt templates to tools/translate/prompt/ (closer to translation code)
- Add prompt testing workflow to translate-test-dify/README.md
- Document prompt-to-workflow mapping and URL localization rule

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

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-11 15:34:46 +08:00
Chenhe Gu f1f025b75d consolidate plugin dev docs into main structure (#581)
* move files & renames

* rename files and doc entries

* sync develop plugin files

* update group label translations

* some cleanups

* update configs

* update links

* add remote debug doc

* delete redundant slashes and unnecessary notes

* update ja and zh links

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-04 16:28:47 +08:00
Chenhe Gu 767397a9de changed language codes: cn -> zh, jp -> ja. with other supporting structural changes (#565)
* fix redirect language code prefixes

* rename: cn -> zh, jp -> ja

* remove hardcoded ja / zh references

* remove hardcoded 'english' references

* renamed variable names and dict keys to language agnostic names

* fix: add missing language helper methods to PRAnalyzer

- Add get_language_directory() method
- Initialize source_language and target_languages from config
- Fixes AttributeError when generating mixed PR errors

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

Co-Authored-By: Claude <noreply@anthropic.com>

* test: kitchen sink workflow validation v2

This PR validates the translation workflow after config-driven refactoring:

Changes:
- Add new test file: test-workflow-validation.mdx
- Modify existing file: introduction.mdx
- Update docs.json navigation

Tests:
- New file translation (add workflow)
- Existing file translation (update workflow)
- Navigation sync across languages
- Config-driven language codes (zh/ja instead of cn/jp)
- Source language abstraction (no hardcoded "English")

Expected workflow behavior:
1. Detect changes in en/ directory
2. Translate new file to zh and ja
3. Update modified file translations
4. Sync docs.json for all language sections
5. Commit translated files automatically

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

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: update workflow paths to use zh/ja instead of cn/jp

Aligns workflow trigger paths with the zh/ja language directory rename.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* Revert "fix: update workflow paths to use zh/ja instead of cn/jp"

This reverts commit 9587b7cc5d.

* Revert "test: kitchen sink workflow validation v2"

This reverts commit 4abdd69fd2.

* fix: update workflow paths in doc analyze workflow to use zh/ja instead of cn/jp

* Refactor/language codes (#240)

* test: kitchen sink workflow validation v2

This PR validates the translation workflow after config-driven refactoring:

Changes:
- Add new test file: test-workflow-validation.mdx
- Modify existing file: introduction.mdx
- Update docs.json navigation

Tests:
- New file translation (add workflow)
- Existing file translation (update workflow)
- Navigation sync across languages
- Config-driven language codes (zh/ja instead of cn/jp)
- Source language abstraction (no hardcoded "English")

Expected workflow behavior:
1. Detect changes in en/ directory
2. Translate new file to zh and ja
3. Update modified file translations
4. Sync docs.json for all language sections
5. Commit translated files automatically

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

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: update workflow paths to use zh/ja instead of cn/jp

Aligns workflow trigger paths with the zh/ja language directory rename.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* Revert "fix: update workflow paths to use zh/ja instead of cn/jp"

This reverts commit 9587b7cc5d.

* Revert "test: kitchen sink workflow validation v2"

This reverts commit 4abdd69fd2.

* fix: update workflow paths in doc analyze workflow to use zh/ja instead of cn/jp

---------

Co-authored-by: Claude <noreply@anthropic.com>

* fix: update workflow files to use 'source' instead of 'english'

After refactoring the PR analyzer to use 'source' for source language
PRs (instead of hardcoded 'english'), the workflow files need to match.

Changes:
- sync_docs_analyze.yml: pr_type == 'source' (was 'english')
- sync_docs_update.yml: PR_TYPE != 'source' check
- Updated all comments from "English" to "source language"
- Updated all pr_type values in JSON from "english" to "source"

This ensures the workflows trigger correctly with the refactored
config-driven language system.

Related: language code refactoring (cn/jp → zh/ja)

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

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix/workflow source language references (#245)

* test: kitchen sink workflow validation v2

This PR validates the translation workflow after config-driven refactoring:

Changes:
- Add new test file: test-workflow-validation.mdx
- Modify existing file: introduction.mdx
- Update docs.json navigation

Tests:
- New file translation (add workflow)
- Existing file translation (update workflow)
- Navigation sync across languages
- Config-driven language codes (zh/ja instead of cn/jp)
- Source language abstraction (no hardcoded "English")

Expected workflow behavior:
1. Detect changes in en/ directory
2. Translate new file to zh and ja
3. Update modified file translations
4. Sync docs.json for all language sections
5. Commit translated files automatically

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

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: update workflow paths to use zh/ja instead of cn/jp

Aligns workflow trigger paths with the zh/ja language directory rename.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* Revert "fix: update workflow paths to use zh/ja instead of cn/jp"

This reverts commit 9587b7cc5d.

* Revert "test: kitchen sink workflow validation v2"

This reverts commit 4abdd69fd2.

* fix: update workflow paths in doc analyze workflow to use zh/ja instead of cn/jp

* fix: update workflow files to use 'source' instead of 'english'

After refactoring the PR analyzer to use 'source' for source language
PRs (instead of hardcoded 'english'), the workflow files need to match.

Changes:
- sync_docs_analyze.yml: pr_type == 'source' (was 'english')
- sync_docs_update.yml: PR_TYPE != 'source' check
- Updated all comments from "English" to "source language"
- Updated all pr_type values in JSON from "english" to "source"

This ensures the workflows trigger correctly with the refactored
config-driven language system.

Related: language code refactoring (cn/jp → zh/ja)

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

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

* fix

* fix docs.json language codes

* rename previous version docs: cn -> zh, jp -> ja

* rm duplicate redirect entires

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-28 04:00:02 -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
Chenhe Gu d9fb3dc2b1 remove general docs from footer addition (#498) 2025-10-28 15:34:56 -07:00
Alter-xyz e66cc64d89 feat: github build-in issues template redirect 2025-07-16 16:40:40 +08:00
AllenWriter 0f218b29df Fix: modify the page's automatic contribution feature 2025-06-03 11:06:43 +08:00
AllenWriter ec34e552c8 Docs: fix error url 2025-05-29 11:21:19 +08:00
AllenWriter d29f5f9b8a Merge branch 'main' into docs/fix-plugin-docs 2025-05-23 11:18:25 +08:00
Alter-xyz a4948c974b Update README.md 2025-05-23 11:16:37 +08:00
AllenWriter 06d73584d1 Fix: remove suffix .zh 2025-05-23 11:12:35 +08:00
Alter-xyz 8f158f547a chore: tools readme 2025-05-22 18:26:24 +08:00
Alter-xyz 3b0690f9b2 updates
and test action script
2025-05-19 21:58:24 +08:00
Alter-xyz 573a8a4df1 fix: typo 2025-05-19 16:08:23 +08:00
AllenWriter e629382c63 Feat: update docs url 2025-05-19 14:58:56 +08:00
AllenWriter bbc257d662 Feat: update docs url 2025-05-19 14:52:31 +08:00
Alter-xyz 829a76c67f enable update reference 2025-05-19 10:57:11 +08:00
Alter-xyz 8fb0738a8f chore: format matching 2025-05-19 10:37:03 +08:00
Alter-xyz 6cb4c072da feat: update references switch
default off
2025-05-18 17:51:05 +08:00
Alter-xyz 3dca175795 fix: suffix 2025-05-18 16:54:31 +08:00
Alter-xyz cf8c1e52fc chore: typo
remove test
2025-05-18 00:43:55 +08:00
Alter-xyz 2ca78ac8e9 fix: git message 2025-05-18 00:20:13 +08:00
Alter-xyz f8da9ed2f8 fix: git message 2025-05-18 00:11:57 +08:00
Alter-xyz fb3ade9d72 feat: just one 2025-05-17 23:51:16 +08:00
Alter-xyz 281ee8b0f6 fix: sys.exit 2025-05-17 23:36:09 +08:00
Alter-xyz f9092f6d7b fix and test 2025-05-17 23:24:32 +08:00
Alter-xyz 868311e1ea test 2025-05-17 23:18:46 +08:00
Alter-xyz af71d8af24 feat: action 2025-05-17 23:14:41 +08:00
Alter-xyz 7679eb4b29 chore: tools update 2025-05-17 22:16:47 +08:00
Alter-xyz 10f1f354db feat: auto fix reference 2025-05-17 20:30:38 +08:00