Skip to content

Commit 21bd984

Browse files
committed
test: final workflow validation
1 parent 708c110 commit 21bd984

8 files changed

Lines changed: 99 additions & 1 deletion

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"pr_number": 428,
3+
"pr_title": "test: fresh workflow validation",
4+
"pr_author": "guchenhe",
5+
"base_sha": "d439ba34de0b2567d4af9079d64738cc11a2c4ea",
6+
"head_sha": "04ae0a7cb51cbfde53e596477de41e74252e036f",
7+
"file_count": 2,
8+
"timestamp": "2025-08-23T04:51:43Z",
9+
"repository": "langgenius/dify-docs",
10+
"ref": "refs/pull/428/merge",
11+
"pr_type": "english"
12+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docs.json
2+
en/documentation/pages/getting-started/fresh-test.mdx
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
true
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
en/documentation/pages/getting-started/fresh-test.mdx|1093
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"structure_changed": true,
3+
"navigation_modified": true,
4+
"languages_affected": [
5+
"zh-hans",
6+
"ja-jp"
7+
]
8+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"metadata": {
3+
"pr_number": 428,
4+
"pr_title": "test: fresh workflow validation",
5+
"pr_author": "guchenhe",
6+
"base_sha": "d439ba34de0b2567d4af9079d64738cc11a2c4ea",
7+
"head_sha": "04ae0a7cb51cbfde53e596477de41e74252e036f",
8+
"file_count": 2,
9+
"timestamp": "2025-08-23T04:51:43Z",
10+
"repository": "langgenius/dify-docs",
11+
"ref": "refs/pull/428/merge",
12+
"pr_type": "english"
13+
},
14+
"files_to_sync": [
15+
{
16+
"path": "en/documentation/pages/getting-started/fresh-test.mdx",
17+
"size": 1093,
18+
"type": "mdx"
19+
},
20+
{
21+
"path": "docs.json",
22+
"size": 108596,
23+
"type": "json"
24+
}
25+
],
26+
"structure_changes": {
27+
"structure_changed": true,
28+
"navigation_modified": true,
29+
"languages_affected": [
30+
"zh-hans",
31+
"ja-jp"
32+
]
33+
},
34+
"target_languages": [
35+
"zh-hans",
36+
"ja-jp"
37+
],
38+
"sync_required": true
39+
}

docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"en/documentation/pages/getting-started/quick-start",
3333
"en/documentation/pages/getting-started/key-concepts",
3434
"en/documentation/pages/getting-started/faq",
35-
"en/documentation/pages/getting-started/test-internal"
35+
"en/documentation/pages/getting-started/final-test"
3636
]
3737
},
3838
{
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: "Final Workflow Test"
3+
description: "Testing the complete automated translation system"
4+
---
5+
6+
# Final Workflow Test
7+
8+
This document tests our new automated translation workflow from start to finish.
9+
10+
## What Should Happen
11+
12+
When this PR is created, the system should:
13+
14+
1. **Analyze** the changes and detect this is an English-only PR
15+
2. **Generate** translations for Chinese (zh-hans) and Japanese (ja-jp)
16+
3. **Create** a separate translation PR automatically
17+
4. **Link** both PRs together with comments
18+
19+
## Test Content
20+
21+
<AccordionGroup>
22+
<Accordion title="Translation Process">
23+
The system uses Dify AI to generate high-quality translations while maintaining the original document structure.
24+
</Accordion>
25+
26+
<Accordion title="Quality Assurance">
27+
All translations include notices indicating they are AI-generated and should be reviewed.
28+
</Accordion>
29+
</AccordionGroup>
30+
31+
<Card title="Expected Result" icon="sparkles">
32+
A new translation PR should be created containing zh-hans and ja-jp versions of this file.
33+
</Card>
34+
35+
Let's see if this works!

0 commit comments

Comments
 (0)