Commit Graph

714 Commits

Author SHA1 Message Date
Riskey
25f356640f draft 2026-01-13 14:57:35 +08:00
Riskey
2da8eb41f0 Temporarily remove the json code field from user input page (#651)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-30 15:46:22 +08:00
github-actions[bot]
465749876c 🌐 Sync PR #645 translations: Add more notes about the extracted image url (#646)
* 🌐 Initial translations for PR #645

Auto-generated translations for documentation changes in PR #645.

Last-Processed-Commit: a82cdffc83
Original-PR: #645
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update readme.mdx

* Update pricing link in readme for clarity

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-26 12:32:12 +08:00
Riskey
2a734172c4 Add more notes about the extracted image url (#645)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-26 12:31:31 +08:00
github-actions[bot]
47b663d99e 🌐 Initial translations for PR #642 (#643)
Auto-generated translations for documentation changes in PR #642.

Last-Processed-Commit: 99de3f4787
Original-PR: #642
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v1.11.2
2025-12-25 16:43:21 +08:00
Riskey
b47f31aa6b Update content related to editing subscriptions (#642)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-25 16:43:00 +08:00
github-actions[bot]
b20bdf10a4 🌐 Sync PR #640 translations: Update content for boolean, boolean array, and object data type support; refine user input page (#641)
* 🌐 Initial translations for PR #640

Auto-generated translations for documentation changes in PR #640.

Last-Processed-Commit: 230905536f
Original-PR: #640
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update variable-assigner.mdx

* Update variable-assigner.mdx

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-24 22:52:13 +08:00
Riskey
2da02258f4 Update content for boolean, boolean array, and object data type support; refine user input page (#640)
* Update content for boolean, boolean array, and object data type support; refine user input page

* correct format descriptions

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-24 22:51:00 +08:00
github-actions[bot]
688fd5756f 🌐 Sync PR #636 translations: Optimize the knowledge retrieval page (#638)
* 🌐 Initial translations for PR #636

Auto-generated translations for documentation changes in PR #636.

Last-Processed-Commit: 3f204fbd9d
Original-PR: #636
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* 🔄 Update translations for commit 623b346a

Auto-generated translations for changes in commit 623b346a77.

Last-Processed-Commit: 623b346a77
Original-PR: #636
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Fix pricing link for batch upload information

Updated the link for the paid plan pricing page.

* Update maintain-knowledge-documents.mdx

* Update link text for knowledge base creation

* Update pricing link in readme for batch upload

* Update setting-indexing-methods.mdx

* Update knowledge-retrieval.mdx

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-24 21:56:01 +08:00
Riskey
59a18c8968 Optimize the knowledge retrieval page (#636)
* Optimize the knowledge retrieval page

* Modify some wording

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-24 21:54:58 +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
Gu
4f36faa03b Remove test mode from approval retrigger workflow
- Remove workflow_dispatch trigger (was for testing)
- Remove manual trigger handling code
- Uncomment fork/author/reviewer checks
- Workflow now only triggers on actual PR approvals

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 14:46:22 -08:00
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
quicksand
9e278d65bf Update partial_member_list schema to require user_id objects across OpenAPI docs (#623) 2025-12-19 10:43:22 +08:00
github-actions[bot]
6b1e52799b 🌐 Sync PR #621 translations: Remove outdated content related to conversation history variables from the llm node page (#622)
* 🌐 Initial translations for PR #621

Auto-generated translations for documentation changes in PR #621.

Last-Processed-Commit: 6619ef3a4c89e922cd1d9427c757673dafef3c11
Original-PR: #621
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update LLM node setup instructions

Removed link to model plugin installation instructions.

* Update LLM node documentation

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-17 18:09:06 +08:00
Riskey
eafe25ce25 Remove outdated content related to conversation history variables (#621)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-17 18:08:47 +08:00
Riskey
5d7556d5f2 Refine docs based on readability, usability, and enterprise PM feedback (#619)
* Refine docs based on internal feedback

* update the zh and ja docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-16 19:37:13 +08:00
github-actions[bot]
821b83c0b5 🌐 Sync PR #616 translations: Update the weaviate v4 migration docs and script (#617)
* 🌐 Initial translations for PR #616

Auto-generated translations for documentation changes in PR #616.

Last-Processed-Commit: dca5a24b25
Original-PR: #616
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update weaviate-v4-migration.mdx

* Update migration instructions in weaviate-v4 document

Clarified instructions for running schema migration.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-16 13:56:43 +08:00
Riskey
212e616a02 Update the weaviate v4 migration docs and script (#616)
* updated docs and migration script

* update the dify version, add the migration script link, and improve formatting

---------

Co-authored-by: DhruvGorasiya <Dhruv.Gorasiya@student.csulb.edu>
Co-authored-by: kurokobo <2920259+kurokobo@users.noreply.github.com>
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-16 13:52:21 +08:00
Riskey
f258cdffcb correct the method type for the api that queries tags bound to a dataset (#614)
Co-authored-by: Riskey <riskey47@dify.ai>
v1.11.0 v1.11.1
2025-12-12 17:42:34 +08:00
非法操作
18b4e1683d update local source develop guide (#596)
* update local source develop guide

* improve formatting and capitalization

* Update en/self-host/advanced-deployments/local-source-code.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* update the zh and jp docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-12 16:01:33 +08:00
非法操作
57e04ab0b1 rm variable name of variable api (#595)
* rm variable name of variable api

* update zh and jp docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 14:53:38 +08:00
非法操作
bb1d1e0503 Fix the order number of the documents. (#594)
* Fix the order number of the documents.

* fix the zh and jp docs as well

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 14:13:19 +08:00
非法操作
6669cce727 add missing plugin logging (#593)
* add missing plugin logging

* Update en/develop-plugin/features-and-specs/plugin-types/plugin-logs.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update en/develop-plugin/features-and-specs/plugin-types/plugin-logs.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update en/develop-plugin/features-and-specs/plugin-types/plugin-logs.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* modify the file name to make it consistent with the doc title

* add zh and jp docs

* Fix log message severity level typos

* Fix typos

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Riskey <riskey47@dify.ai>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-12 12:23:29 +08:00
heyszt
4bab66539c add Alibaba Cloud monitoring integration doc en (#604)
* add aliyun monitor doc en

Change-Id: I9f3758c13c6694c764ad356a0a5a02de7e9acc3f

* fix title

Change-Id: Ic464ab29ae7db00db4741d3d1f824ab87989223d

* Post-review fixes

* add zh and jp docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 11:28:19 +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
github-actions[bot]
43475277f3 🌐 Sync PR #607 translations: fix the migration script link (#608)
* 🌐 Initial translations for PR #607

Auto-generated translations for documentation changes in PR #607.

Last-Processed-Commit: 8bf7e1412d
Original-PR: #607
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Fix formatting and link text in migration guide

* Update weaviate-v4-migration.mdx

* Update weaviate-v4-migration.mdx

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-11 13:05:45 +08:00
Riskey
0312ab8852 fix the migration script link (#607)
* fix the migration script link

* fix the inline reference

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-11 13:03:11 +08:00
Riskey
82f45309ca add the migrations script (#605)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-11 12:30:38 +08:00
github-actions[bot]
3a441d28f1 🌐 Sync PR #602 translations: Recover the original agent strategy docs from old docs repo (#603)
* 🌐 Initial translations for PR #602

Auto-generated translations for documentation changes in PR #602.

Last-Processed-Commit: 791a764092
Original-PR: #602
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* 🔄 Update translations for commit b35925e1

Auto-generated translations for changes in commit b35925e173.

Last-Processed-Commit: b35925e173
Original-PR: #602
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update docs.json

* Update title and terminology

* Update terminology

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-09 19:46:40 +08:00
Riskey
69193b4e9f Recover the original agent strategy docs from old docs repo (#602)
* recover the original agent strategy docs from old docs repo

* Adjust the navigation order of the plugin dev docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-09 19:33:50 +08:00
Riskey
b65aabc65e Add docs for multimodal embedding (#600)
* draft

* migrate from old docs repo

* adjust content based on experiencing the feature

* Improvements

* changes upon feedback

* refinements

* zh draft

* add plugin dev docs

* update old links

* add jp docs

* change the position of variables related to multimodal embedding in the environment variable doc

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-09 18:43:41 +08:00
Riskey
cc7d905db7 add new redirect for the old conversation variable content link (#591)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-06 00:50:43 +08:00
Riskey
f9975c00d7 fix the 404 link for the original conversation variable content (#590)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-06 00:37:05 +08:00
github-actions[bot]
c7b615e74d 🌐 Sync PR #588 translations: update the note for when the frontend and backend run on different subdomains (#589)
* 🌐 Initial translations for PR #588

Auto-generated translations for documentation changes in PR #588.

Last-Processed-Commit: 7128008548
Original-PR: #588
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update environments.mdx

* Update environments.mdx

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-06 00:36:53 +08:00
Riskey
a189a5db67 update the note for when the frontend and backend run on different subdomains (#588)
* update the note for when the frontend and backend run on different subdomains

* Update en/self-host/quick-start/docker-compose.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Riskey <riskey47@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-06 00:36:39 +08:00
github-actions[bot]
4a628baea1 🌐 Initial translations for PR #586 (#587)
Auto-generated translations for documentation changes in PR #586.

Last-Processed-Commit: e49975ef52
Original-PR: #586
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-05 23:46:30 +08:00
Riskey
153334c004 refactor the content (#586)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-05 23:46:18 +08:00
github-actions[bot]
a309694a4a 🌐 Sync PR #582 translations: docs(weaviate-v4-migration.mdx): Update weaviate migration guide (#583)
* 🌐 Initial translations for PR #582

Auto-generated translations for documentation changes in PR #582.

Last-Processed-Commit: cfc48e1262
Original-PR: #582
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* fix bold formatting

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-04 19:11:36 +08:00
-LAN-
f5a953a7a7 docs(weaviate-v4-migration.mdx): Update weaviate migration guide (#582)
* docs(weaviate-v4-migration.mdx): Update weaviate migration guide

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Dhruv Gorasiya <80987415+DhruvGorasiya@users.noreply.github.com>

* Clarify the exact dify version; fix the  environment variable doc link; replace dify discord with dify forum

---------

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Dhruv Gorasiya <80987415+DhruvGorasiya@users.noreply.github.com>
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-04 19:10:41 +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
Hui Zhang
84bc14cc0b feat(docs):add docs for mysql adaptation (#577)
* feat(docs):add docs for mysql adaptation

* changes after review

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-03 16:21:09 +08:00
Riskey
4c18b24ce5 Restore some of the reverted commits (#579) 2025-12-02 20:10:36 +08:00
Riskey
e68a9f437d add code owner (#578)
* add codeowners

Co-authored-by: Riskey <riskey47@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-02 18:36:59 +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
Bowen Liang
01044a80bc fix: use latest version of plugin cli in plugin auto publish workflow (#575)
* use latest version of plugin cli in plugin auto publish workflow

* fix
2025-12-02 12:16:36 +08:00
yyh
c55d6e824a feat: add CI quality gate workflows for documentation (#571)
* feat: add CI quality gate workflows for documentation

Add three new GitHub Actions workflows to enforce documentation quality:

- build-test.yml: Validates Mintlify build succeeds on PRs
- quality-check.yml: Checks frontmatter, links, images, code blocks
- validate-docs-json.yml: Validates docs.json structure and file references

These workflows complement the existing translation automation by
providing quality gates that block PRs with documentation issues.

Fix: Remove continue-on-error to ensure workflows properly fail PRs.

* chore: remove build-test.yml (redundant with Mintlify App)
2025-12-02 12:16:26 +08:00