Skip to content

Docs Style Guide

Barrie Byron edited this page Apr 26, 2023 · 21 revisions

Technical docs are a high visibility way to connect with our users. Consistent, accurate, and error-free docs build trust.

In general, we use the Google developer documentation style guide and document the exceptions here.

Our product development cycle includes creating, updating, and maintaining content for each feature and update. Contributions are welcome and appreciated.

For guidance not on this page, refer to these style guides:

Terminology

To ensure consistency in the documentation, be sure to follow the preferred usage of common terms. See the Word List.

Highlights

This list covers important points. For more information about topics on the page, follow the links. As always, please ask if you have questions.

Tone and Content

Language and Grammar

Syntax Conventions

  • Put UI elements in bold.
  • Enclose methods and functions in single tick marks and include the parentheses. For example, init() method, add() method.
  • Make sure that the spelling of a class name matches the spelling in the code, with capital letters and no spaces. For example, accountUpdate: AccountUpdate; where accountUpdate is for the JavaScript code and AccountUpdate is the class in SnarkyJS that represents account updates instructions for the Mina network.

For more syntax guidance, see Markdown Syntax.

Sidebar Capitalization

  • Use Title Case Protocol Architecture
  • Use sentence case for tasks and phrases--for example, How to use a zkApp, Install a wallet

Tip: Use a Title Capitalization tool.

Graphics

  • Graphics are created using an iPad, stylus, and Procreate.
  • By convention, images are stored in the static/img folder.

Units of measurement

Use a non-breaking space between the number and the unit of measurement. For example, 128 GB. Use standard unit of measure abbreviations. Follow the Microsoft style guidelines.

Clone this wiki locally