Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: Document UI path formatting convention

Daniel72c747ad87d5
diff --git a/AGENTS.md b/AGENTS.md
index 284cef8ea3..f320a2493a 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -57,9 +57,10 @@ SiYuan repository guide. Module path `github.com/siyuan-note/siyuan`, license AG
2. **Comments:** Describe what the code does, not what it replaced — don't reference the old implementation in comments
3. **Comments:** Write comments in Chinese
4. **Punctuation:** Use language-appropriate punctuation (e.g. Chinese punctuation ,。:;!?「」 for Chinese, not ASCII); do not hard-code it in code — put it in the i18n language files so each locale renders its own. Applies to comments, user guide, `.md` docs, etc.
-5. **Markdown:** Do not hand-wrap; keep each line (paragraphs, table rows, list items, etc.) on a single line
-6. **TypeScript/JavaScript:** Semicolons required, use double quotes, indent with spaces
-7. **Go:** Format with `gofmt` after editing
+5. **UI paths:** In all contexts, including code comments, UI text, i18n, user guides, documentation, issue/PR content, and responses, separate navigation levels with a hyphen surrounded by spaces (for example, `设置 - 快捷键 - 通用`); do not use arrow symbols such as `→`
+6. **Markdown:** Do not hand-wrap; keep each line (paragraphs, table rows, list items, etc.) on a single line
+7. **TypeScript/JavaScript:** Semicolons required, use double quotes, indent with spaces
+8. **Go:** Format with `gofmt` after editing
---