Style Guide
This document defines the styles, vocabulary usage, and content formatting for Sui documentation. Entries are in alphabetical order. A style guide is never finished; expect continued iterations to add additional styles, additional information to existing styles, and infrequently a change to an existing style.
Editorial considerations
-
Use simple words and concise sentences.
Prefer plain, direct language over complex or academic phrasing. Short sentences improve readability and are easier to localize. -
Avoid redefining common words.
Do not give familiar words new or unexpected meanings (for example, do not use "object" to mean something other than its standard technical or everyday sense). This prevents confusion, especially for new readers. -
Use technical terms with care.
Introduce technical terms only when necessary. Define them clearly the first time, and use them consistently throughout the documentation. -
Avoid jargon and slang.
Do not assume readers understand informal expressions, company-specific shorthand, or unnecessary buzzwords. Use precise terms instead. -
Prefer active, descriptive phrasing.
Instead of vague phrases like, "do the thing," explain the action explicitly: "Deploy the contract" or "Restart the node." -
Write for a global audience.
Keep in mind that many readers are non-native English speakers. Favor clarity over cleverness, and avoid idioms or culturally specific references.
Spelling and grammar
Spelling
Use US English spelling in source content.
Grammar
Active voice
Use active voice whenever possible. Active voice is direct, clear, and uses fewer words. Passive voice is often less clear, awkward, and uses more words.
✅ Active: She installed the software.
❌ Passive: The software was installed by her.
Person
-
First person → I or we
-
Second person → you
-
Third person → he, she, they, it, product names
Use second person ("you"). Do not use first or third person ("I" or "we").
✅ You can view the transaction history in the Sui Explorer.
❌ We can view the transaction history in the Sui Explorer.
Present tense
Use present tense whenever possible. Reserve future tense only for events that will happen at a specific future time, such as a scheduled product release.
Do not use future tense when describing product behavior or writing task instructions. From the reader's perspective, actions occur in the present as they follow the steps.
Example: Present tense
Click Save to save the updated file.
When you click Save, your device writes the changes to disk.
To save a file after you modify it, click Save.
Example: Future tense (avoid)
Your changes will be saved when you click Save.
When you click Save, the file will be written to disk.
Although technically correct, the future tense creates distance between the user and the action. It also makes the text harder to understand for ESL readers and more difficult to localize. In reality, the action happens immediately when the user clicks Save.