Commit Graph

208 Commits

Author SHA1 Message Date
Gu
f4380c2d8c update docs.json dev section structure 2025-11-20 11:19:33 +08:00
Gu
c0c12eb8a9 language changes (new files) 2025-11-20 05:37:56 +08:00
Gu
5c4f1546f9 partial language updates 2025-11-20 05:13:35 +08:00
Gu
a10fe14ae6 merge most recent updates (en changes) 2025-11-20 04:22:38 +08:00
Gu
dc42adf999 revert previous test changes 2025-11-13 14:28:06 +08:00
Gu
a056f23340 test: rename v2 → v3 (final check 3/3)
Second rename to validate consistency across multiple successive renames.

Expected outcome:
 Physical files:
   - cn/validation-v2.mdx → cn/validation-v3.mdx
   - jp/validation-v2.mdx → jp/validation-v3.mdx

 docs.json entries updated (NOT deleted):
   - cn/.../validation-v2 → cn/.../validation-v3
   - jp/.../validation-v2 → jp/.../validation-v3

 No extensions in docs.json entries
 NO deletions of cn/jp entries

This final test confirms that all three fixes work consistently
across multiple successive renames, not just a single rename.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 14:14:29 +08:00
Gu
6ee719ce57 test: rename v1 → v2 (final check 2/3)
First rename to validate all three fixes work together.

Expected outcome:
 Physical files:
   - cn/validation-v1.mdx → cn/validation-v2.mdx
   - jp/validation-v1.mdx → jp/validation-v2.mdx

 docs.json entries updated (NOT deleted):
   - cn/.../validation-v1 → cn/.../validation-v2
   - jp/.../validation-v1 → jp/.../validation-v2

 No extensions in docs.json entries
 NO deletions of cn/jp entries

This validates:
1. Extension stripping for location lookup works
2. Conditional rename detection works
3. Extension stripping for new_target works

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 14:11:51 +08:00
Gu
2966e82e74 test: add validation-v1.mdx (final check 1/3)
Final comprehensive validation of all three rename fixes.

Validates:
- Fix #1: Extension stripping for location lookup (8bf899c6)
- Fix #2: Conditional rename detection (532e97cf)
- Fix #3: Extension stripping for new_target (b9489a0a)

Test plan:
1. Add validation-v1.mdx → wait for cn/jp translations
2. Rename v1 → v2 → verify complete rename behavior
3. Rename v2 → v3 → verify consistency

Expected: docs.json entries updated (not deleted), no extensions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 14:08:31 +08:00
Gu
07deac1e84 test: rename beta → gamma (validation 3/3)
Second rename to validate consistency of all three fixes.

Expected with complete fix:
 Physical files renamed:
   - cn/rename-test-beta.mdx → cn/rename-test-gamma.mdx
   - jp/rename-test-beta.mdx → jp/rename-test-gamma.mdx

 docs.json entries updated (NOT deleted):
   - cn/.../rename-test-beta → cn/.../rename-test-gamma
   - jp/.../rename-test-beta → jp/.../rename-test-gamma

 No extensions in docs.json entries

This validates that the fix works consistently across multiple
successive renames, not just the first rename.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:47:58 +08:00
Gu
8b001d9488 test: rename alpha → beta (validation 2/3)
First rename to validate all three fixes work correctly.

Expected with complete fix:
 Physical files renamed:
   - cn/rename-test-alpha.mdx → cn/rename-test-beta.mdx
   - jp/rename-test-alpha.mdx → jp/rename-test-beta.mdx

 docs.json entries updated (NOT deleted):
   - cn/.../rename-test-alpha → cn/.../rename-test-beta
   - jp/.../rename-test-alpha → jp/.../rename-test-beta

 No extensions in docs.json entries

All three fixes should work together:
1. Location lookup finds the file (extension stripped)
2. Reconcile detects rename (conditional skip)
3. New entry has no extension (new_target stripped)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:45:17 +08:00
Gu
ab9f2a1f22 test: add rename-test-alpha.mdx (complete validation 1/3)
Fresh test to validate all three rename fixes work together.

Three critical fixes being validated:
1. Extension stripping for location lookup (8bf899c6)
2. Conditional rename detection in reconcile (532e97cf)
3. Extension stripping for new_target (b9489a0a)

Test sequence:
- Step 1: Add this file → wait for cn/jp translations
- Step 2: Rename alpha → beta → verify correct rename behavior
- Step 3: Rename beta → gamma → verify consistency

Expected: All renames update docs.json entries correctly (not delete)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:42:00 +08:00
Gu
c5e97bd857 test: rename step2 → step3 (validation 3/3)
Final rename to validate complete fix with all three fixes:
1. Extension stripping for location lookup
2. Conditional rename detection in reconcile
3. Extension stripping for new_target when adding to docs.json

Expected outcome:
- ✓ cn/test-final-step2.mdx → cn/test-final-step3.mdx
- ✓ jp/test-final-step2.mdx → jp/test-final-step3.mdx
- ✓ cn docs.json: "cn/.../test-final-step3" (no extension)
- ✓ jp docs.json: "jp/.../test-final-step3" (no extension)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:34:48 +08:00
Gu
3709bfe51d test: rename step1 → step2 (validation 2/3)
First rename to validate complete fix works correctly.

Expected outcome with fix:
- ✓ cn/test-final-step1.mdx → cn/test-final-step2.mdx
- ✓ jp/test-final-step1.mdx → jp/test-final-step2.mdx
- ✓ cn docs.json: entry updated (not deleted)
- ✓ jp docs.json: entry updated (not deleted)

This tests both fixes:
1. Extension stripping prevents location lookup failure
2. Conditional rename detection ensures reconcile handles R100 renames

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:31:33 +08:00
Gu
f3614a2a4d test: add test-final-step1.mdx (validation 1/3)
Fresh test to validate complete rename fix (PR#189 + extensions fix).

Tests both critical fixes:
1. Extension stripping in _handle_rename (commit 8bf899c6)
2. Conditional rename detection in reconcile (commit 532e97cf)

Next steps:
- Wait for auto-sync to create cn/jp translations
- Rename step1 → step2 (should update docs.json, not delete)
- Rename step2 → step3 (validates consistency)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:28:17 +08:00
Gu
9cfff6c300 test: rename gamma → delta (final validation)
Tests complete fix with both:
1. Extension stripping for location lookup
2. Conditional rename detection in reconcile

Expected: cn/jp docs.json entries renamed (NOT deleted)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:16:49 +08:00
Gu
6a8df1e672 test: rename beta → gamma (validates fix)
Tests that the extension-strip fix works correctly.

Expected with fix:
- cn/docs.json: test-rename-beta → test-rename-gamma ✓
- jp/docs.json: test-rename-beta → test-rename-gamma ✓
- Physical files renamed ✓
- NO deletion of cn/jp entries ✓

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:08:54 +08:00
Gu
f5fac82c8e test: rename alpha → beta (step 2/2)
Tests rename fix from PR#189.
This commit renames the test file to validate that:
1. Physical files (cn/jp) get renamed ✓
2. docs.json entries (cn/jp) get updated ✓ (NOT deleted)

Expected with fix:
- cn/docs.json: test-rename-alpha → test-rename-beta
- jp/docs.json: test-rename-alpha → test-rename-beta
- Physical files renamed
- NO deletion of cn/jp entries

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 11:02:00 +08:00
Gu
889cb07f32 test: add test-rename-alpha.mdx (step 1/2)
Validates rename fix from PR#189.
This is step 1: adding the initial file.
Next step will rename alpha → beta.

Expected workflow:
1. This commit: Create en/test-rename-alpha.mdx + docs.json entry
2. Auto-sync: Translate to cn/jp + add docs.json entries
3. Next commit: Rename en/alpha → en/beta in docs.json
4. Auto-sync: Should update BOTH physical files AND docs.json for cn/jp

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 10:56:02 +08:00
Gu
9e62988581 clean up test changes 2025-11-06 16:37:18 -08:00
Gu
56cade7e17 test: add baseline file for workflow chaining validation
Test file to validate secure workflow chaining:
- Analyze workflow validates inputs
- Update workflow waits for analyze completion
- Security checks enforced via artifact validation
2025-11-06 12:55:31 -08:00
Chenhe Gu
a13ecaa804 Revert "Test: Fresh Incremental Translation - Round 2" (#87) 2025-11-06 03:29:30 -08:00
Gu
1324798606 test: add second file to verify incremental translation
This commit adds the second test file to verify that:
1. Translation PR is updated (not force-pushed)
2. Only new file is translated (first file not re-translated)
3. No English source files leak into translation commits

Expected: Translation PR should have 2 commits with clean git history.
2025-11-06 03:20:36 -08:00
Gu
a148119a3f test: add first file for fresh incremental translation test
This commit adds the first test file to verify the incremental translation
workflow with the English file removal fix applied.

Expected: Translation PR should contain only cn/, jp/ files and docs.json.
2025-11-06 03:16:25 -08:00
Gu
2cfae59bb0 test: add second file to verify end-to-end workflow 2025-11-06 02:37:35 -08:00
Gu
e1c4115f1a test: add first file for fresh incremental translation test 2025-11-06 02:32:32 -08:00
Gu
3b9a165134 revert language codes 2025-10-28 20:29:02 -07:00
Gu
4d36fa565a merge auto-translate 2025-10-28 05:58:30 -07:00
Riskey
de587fb570 Add data source plugin dev docs (#474) 2025-09-30 21:07:13 +08:00
crazywoola
5ed14d7cf0 add: mdx file to develper md exporter 2025-09-30 16:47:06 +08:00
Junyan Qin (Chin)
fe4d97fae3 doc: zh_hans draft for plugin multilingual readme std (#472)
* doc: zh_hans draft for plugin multilingual readme std

* Docs tools: Successfully completed 3 operations

* Documentation edits made through Mintlify web editor

* Docs tools: 2 succeeded, some failed

Rename operation failed: - Lang 'zh': File 'dify-docs/plugin-dev-zh/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'zh': File 'dify-docs/plugin-dev-zh/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'en': File 'dify-docs/plugin-dev-en/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'en': File 'dify-docs/plugin-dev-en/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'ja': File 'dify-docs/plugin-dev-ja/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'ja': File 'dify-docs/plugin-dev-ja/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'

* Documentation edits made through Mintlify web editor

* Docs tools: 2 succeeded, some failed

Rename operation failed: - Lang 'zh': File 'dify-docs/plugin-dev-zh/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'zh': File 'dify-docs/plugin-dev-zh/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'en': File 'dify-docs/plugin-dev-en/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'en': File 'dify-docs/plugin-dev-en/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'ja': File 'dify-docs/plugin-dev-ja/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'ja': File 'dify-docs/plugin-dev-ja/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'

* Documentation edits made through Mintlify web editor

* Docs tools: 2 succeeded, some failed

Rename operation failed: - Lang 'zh': File 'dify-docs/plugin-dev-zh/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'zh': File 'dify-docs/plugin-dev-zh/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'en': File 'dify-docs/plugin-dev-en/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'en': File 'dify-docs/plugin-dev-en/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'ja': File 'dify-docs/plugin-dev-ja/0211-getting-started-dify-tool.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'
- Lang 'ja': File 'dify-docs/plugin-dev-ja/0411-multilingual-readme.mdx' - Renaming error: Unexpected error: 'str' object has no attribute 'get'

* Documentation edits made through Mintlify web editor

---------

Co-authored-by: alterxyz <88554920+alterxyz@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-09-30 10:41:57 +08:00
crazywoola
846a00e9f0 add: flomo plugin dev docs 2025-09-29 15:11:43 +08:00
crazywoola
173ff8491c add Agents.md 2025-09-28 18:38:54 +08:00
Gu
b09b3cc240 fixes 2025-09-19 16:48:25 +08:00
Gu
799d93d57c add missing group translations 2025-09-19 15:41:11 +08:00
Gu
ef1d3fd69b translate self-hosting; structure api reference 2025-09-19 15:37:01 +08:00
Gu
9d595e6b6a fix links 2025-09-19 13:14:39 +08:00
Gu
7f1bb9d3f8 restructure docs.json to reflect self-hosting changes 2025-09-19 08:49:27 +08:00
Gu
ffb651025d tidy up self-hosting section 2025-09-19 08:33:45 +08:00
Gu
5dd7dbc1d4 add knolwedge doc icons 2025-09-19 07:48:20 +08:00
Gu
cb777eddb4 add knowledge docs 2025-09-19 06:21:29 +08:00
Gu
c596b3a29f modify versions tag 2025-09-18 18:16:54 +08:00
Gu
312d2036e3 improve structure 2025-09-18 17:41:02 +08:00
Gu
649e05bc0a enterprise 2025-09-18 16:37:17 +08:00
Gu
017a8f113d swapped out getting started guide 2025-09-16 13:42:46 +08:00
Gu
e8bdf650b5 Merge branch 'revamp' of https://github.com/langgenius/dify-docs into revamp 2025-09-16 00:56:08 +08:00
Gu
2eaa3fd722 versions 2025-09-16 00:17:14 +08:00
alterxyz
a0eb58b8fd Docs tools: Successfully completed 3 operations 2025-09-09 02:22:00 +00:00
Riskey
e005ab1a14 Documentation edits made through Mintlify web editor 2025-09-08 19:29:19 +08:00
Riskey
bc9649cc30 Add a 30-min getting started tutorial (#452)
Add a 30-min getting started tutorial
2025-09-05 21:39:06 +08:00
Bowen Liang
5241ff66da Add tool plugin example page for Markdown Exporter plugin (#448)
* update

* update

* update

* update

* update

* remove GUIDE

* update screenshots

* rename
2025-09-05 19:16:13 +08:00