Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

docs: add writing-guide (#1154)

tianzhou9c2ab544cfe5
diff --git a/docs/writing-guide.md b/docs/writing-guide.md
new file mode 100644
index 0000000000..1963415223
--- /dev/null
+++ b/docs/writing-guide.md
@@ -0,0 +1,54 @@
+# Writing Guide
+
+We produce content in both English and Chinese. We need to pay attention to the formatting in order to deliver a good reading experience.
+
+# Pure English Article
+
+Use English letters and 半角 symbols.
+
+# Pure Chinese Article
+
+Use Chinese characters and 全角 symbols, pure Chinese article is rare since many terms are English only.
+
+# Mixed English and Chinese
+
+Most aritcles fall into this category. The formatting gets tricky because we need to choose between 半角 and 全角. In general, we follow [中文文案排版指北](https://github.com/sparanoid/chinese-copywriting-guidelines/blob/master/README.zh-Hans.md), with the following exceptions:
+
+1. For parentheses, use `半角英文括号()` instead of `全角括号()`.
+
+# Example
+
+> ❌ Github是一个代码版本控制系统(Version Control System),它的吉祥物是一只章鱼猫,英文叫 “Octocat”.
+>
+> ✅ GitHub 是一个代码版本控制系统 (Version Control System),它的吉祥物是一只章鱼猫,英文叫「Octocat」。
+
+Let's go over the issues one by one:
+
+1. Case. Respect other brands.
+ > ❌ `Github`
+ >
+ > ✅ `GitHub`
+1. Single whitespace between English and Chinese
+ > ❌ `GitHub是一个`
+ >
+ > ✅ `GitHub 是一个`
+1. Parentheses
+ > ❌ `(Version Control System)`
+ >
+ > ✅ `(Version Control System)`
+1. Comma
+ > ❌ `,`
+ >
+ > ✅ `,`
+1. Quotation mark
+ > ❌ `“Octocat”`
+ >
+ > ✅ `「Octocat」`
+1. Period
+ > ❌ `.`
+ >
+ > ✅ `。`
+
+# Readings
+
+- [Docs for Developers](https://docsfordevelopers.com)