1---2name: 1562-style-guide-1b55350f3description: Documentation style guide4---5# Documentation style guide67## I. Core principles891. **Clarity:** Write for easy understanding. Prioritize clear, direct, and simple language.102. **Consistency:** Use consistent terminology, formatting, and style throughout the documentation.113. **Accuracy:** Ensure all information is technically correct and up-to-date.124. **Accessibility:** Design documentation to be usable by everyone. Focus on semantic structure, clear link text, and image alternatives.135. **Global audience:** Write in standard US English. Avoid slang, idioms, and cultural references.146. **Prescriptive:** Guide the reader by recommending specific actions and paths, especially for complex tasks.1516## II. Voice and tone1718- **Professional yet friendly:** Maintain a helpful, knowledgeable, and conversational tone without being frivolous.19- **Direct:** Get straight to the point. Keep paragraphs short and focused.20- **Second person:** Address the reader as "you."21- **Present tense:** Use the present tense to describe functionality (e.g., "The API returns a JSON object.").22- **Avoid:** Jargon, slang, marketing hype, and overly casual language.2324## III. Language and grammar2526- **Active voice:** Prefer active voice over passive voice.27 - _Example:_ "The system sends a notification." (Not: "A notification is sent by the system.")28- **Contractions:** Use common contractions (e.g., "don't," "it's") to maintain a natural tone.29- **Simple vocabulary:** Use common words. Define technical terms when necessary.30- **Conciseness:** Keep sentences short and focused, but don't omit helpful information.31- **"Please":** Avoid using the word "please."3233## IV. Procedures and steps3435- Start each step with an imperative verb (e.g., "Connect to the database").36- Number steps sequentially.37- Introduce lists of steps with a complete sentence.38- Put conditions before instructions, not after.39- Provide clear context for where the action takes place (e.g., "In the administration console...").40- Indicate optional steps clearly (e.g., "Optional: ...").4142## V. Formatting and punctuation4344- **Text wrap:** Wrap all text at 80 characters, with exceptions for long links or tables.45- **Headings, titles, and bold text:** Use sentence case. Structure headings hierarchically.46- **Lists:** Use numbered lists for sequential steps and bulleted lists for all other lists. Keep list items parallel in structure.47- **Serial comma:** Use the serial comma (e.g., "one, two, and three").48- **Punctuation:** Use standard American punctuation. Place periods inside quotation marks.49- **Dates:** Use unambiguous date formatting (e.g., "January 22, 2026").5051## VI. UI, code, and links5253- **UI elements:** Put UI elements in **bold**. Focus on the task when discussing interaction.54- **Code:** Use `code font` for filenames, code snippets, commands, and API elements. Use code blocks for multi-line samples.55- **Links:** Use descriptive link text that indicates what the link leads to. Avoid "click here."5657## VII. Word choice and terminology5859- **Consistent naming:** Use product and feature names consistently.60- **Specific verbs:** Use precise verbs.61- **Avoid:**62 - Latin abbreviations (e.g., use "for example" instead of "e.g.").63 - Placeholder names like "foo" and "bar" in examples; use meaningful names instead.64 - Anthropomorphism (e.g., "The server thinks...").65 - "Should": Be clear about requirements ("must") vs. recommendations ("we recommend").6667## VIII. Files and media6869- **Filenames:** Use lowercase letters, separate words with hyphens (-), and use standard ASCII characters.70- **Images:** Provide descriptive alt text for all images. Provide high-resolution or vector images when practical.7172## IX. Accessibility quick check7374- Provide descriptive alt text for images.75- Ensure link text makes sense out of context.76- Use semantic HTML elements correctly (headings, lists, tables).