Skip to content

Commit 4cf50a0

Browse files
committed
Update copilot-instructions.md
1 parent c501d38 commit 4cf50a0

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/copilot-instructions.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ The project uses **Next.js (App Router)** and **Fumadocs**.
1313

1414
### File Structure
1515
- **English Documentation**: `content/docs/**/*.mdx` (The source of truth)
16-
- **Chinese Documentation**: `content/docs-zh/**/*.mdx` (Translation)
1716
- **Navigation**: `meta.json` in each directory defines the sidebar structure.
1817

1918
### Frontmatter
@@ -48,22 +47,18 @@ description: Short summary for search engines and preview cards
4847

4948
### Internationalization (i18n)
5049
- `content/docs` is for English (default).
51-
- `content/docs-zh-CN` is for Chinese.
52-
- Structure in `content/docs-zh-CN` must mirror `content/docs`.
5350

5451
## Task Specific Instructions
5552

5653
- **Translation Workflow**:
5754
- Always write the English documentation in `content/docs/` first.
58-
- The CI workflow will automatically generate Chinese translations in `content/docs-zh-CN/`.
5955

6056
- **When creating a new page**:
6157
1. Create `filename.mdx` in `content/docs/`.
6258
2. Add the filename (without extension) to `meta.json`.
6359

6460
- **When editing content**:
6561
- Edit the file in `content/docs/`.
66-
- Do not manually edit files in `content/docs-zh-CN/` unless fixing a bad translation.
6762

6863
- **When explaining code**:
6964
- Provide context about where the code belongs (e.g., "In `source.config.ts`...").

0 commit comments

Comments
 (0)